[前][次][番号順一覧][スレッド一覧]

ruby-changes:54040

From: svn <ko1@a...>
Date: Fri, 7 Dec 2018 03:28:30 +0900 (JST)
Subject: [ruby-changes:54040] svn:r66259 (trunk): * expand tabs.

svn	2018-12-07 03:28:26 +0900 (Fri, 07 Dec 2018)

  New Revision: 66259

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66259

  Log:
    * expand tabs.

  Modified files:
    trunk/compile.c
Index: compile.c
===================================================================
--- compile.c	(revision 66258)
+++ compile.c	(revision 66259)
@@ -3984,12 +3984,12 @@ compile_array(rb_iseq_t *iseq, LINK_ANCH https://github.com/ruby/ruby/blob/trunk/compile.c#L3984
 			    ADD_INSN1(ret, line, duparray, ary);
 			}
 			else { /* COMPILE_ARRAY_TYPE_HASH */
-			    VALUE hash;
+                            VALUE hash;
 
-			    hash = rb_hash_new_with_size(RARRAY_LEN(ary) / 2);
-			    rb_hash_bulk_insert(RARRAY_LEN(ary), RARRAY_CONST_PTR_TRANSIENT(ary), hash);
-			    iseq_add_mark_object_compile_time(iseq, hash);
-			    ADD_INSN1(ret, line, duphash, hash);
+                            hash = rb_hash_new_with_size(RARRAY_LEN(ary) / 2);
+                            rb_hash_bulk_insert(RARRAY_LEN(ary), RARRAY_CONST_PTR_TRANSIENT(ary), hash);
+                            iseq_add_mark_object_compile_time(iseq, hash);
+                            ADD_INSN1(ret, line, duphash, hash);
 			}
 		    }
 		    else {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]