From f2a7ca746fe946784ab42e8dbc21cbc6342cee61 Mon Sep 17 00:00:00 2001 From: normal Date: Tue, 8 Dec 2015 04:32:23 +0000 Subject: [PATCH] compile.c (iseq_build_from_ary_body): avoid rb_ary_dup for CDHASH This reverts r16587 ("compile.c (iseq_build_body): remove side effect from VM::InstructionSequence.load." as that change was obsoleted by r48705 ("mostly fix rb_iseq_load") git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/compile.c b/compile.c index abb5306759..bb0a07c940 100644 --- a/compile.c +++ b/compile.c @@ -6407,7 +6407,6 @@ iseq_build_from_ary_body(rb_iseq_t *iseq, LINK_ANCHOR *anchor, rb_hash_tbl_raw(map)->type = &cdhash_type; op = rb_convert_type(op, T_ARRAY, "Array", "to_ary"); - op = rb_ary_dup(op); for (i=0; i