diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-25 08:52:57 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-25 08:52:57 +0000 |
commit | 8742de6f10aaf1f06347b3291b307e425bf07d7b (patch) | |
tree | 61c609162e1ba7c2a7e188dcd9cb70b1772288eb /compile.c | |
parent | 74ae098a5d32d666ab016336935d1bb65e7c0431 (diff) | |
download | bundler-8742de6f10aaf1f06347b3291b307e425bf07d7b.tar.gz |
* compile.c (iseq_build_body): remove side effect from
VM::InstructionSequence.load.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4955,6 +4955,7 @@ iseq_build_body(rb_iseq_t *iseq, LINK_ANCHOR *anchor, { int i; op = rb_convert_type(op, T_ARRAY, "Array", "to_ary"); + op = rb_ary_dup(op); for (i=0; i<RARRAY_LEN(op); i+=2) { VALUE sym = rb_ary_entry(op, i+1); LABEL *label = |