* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2f37847820
commit
2f1c9e2ac1
10
compile.c
10
compile.c
@ -3984,12 +3984,12 @@ compile_array(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node_ro
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user