ruby-changes:5092
From: mame <ko1@a...>
Date: Sun, 25 May 2008 17:53:10 +0900 (JST)
Subject: [ruby-changes:5092] Ruby:r16587 (trunk): * compile.c (iseq_build_body): remove side effect from
mame 2008-05-25 17:52:57 +0900 (Sun, 25 May 2008)
New Revision: 16587
Modified files:
trunk/ChangeLog
trunk/compile.c
Log:
* compile.c (iseq_build_body): remove side effect from
VM::InstructionSequence.load.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/compile.c?r1=16587&r2=16586&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16587&r2=16586&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 16586)
+++ ChangeLog (revision 16587)
@@ -1,3 +1,8 @@
+Sun May 25 17:52:25 2008 Yusuke Endoh <mame@t...>
+
+ * compile.c (iseq_build_body): remove side effect from
+ VM::InstructionSequence.load.
+
Sun May 25 04:30:45 2008 Yusuke Endoh <mame@t...>
* test/ruby/test_modules.rb (remove_json_mixins): change judgment
Index: compile.c
===================================================================
--- compile.c (revision 16586)
+++ compile.c (revision 16587)
@@ -4955,6 +4955,7 @@
{
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 =
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/