ruby-changes:5093
From: mame <ko1@a...>
Date: Sun, 25 May 2008 17:55:25 +0900 (JST)
Subject: [ruby-changes:5093] Ruby:r16588 (trunk): * compile.c (iseq_compile): set local_table for
mame 2008-05-25 17:55:09 +0900 (Sun, 25 May 2008)
New Revision: 16588
Modified files:
trunk/ChangeLog
trunk/compile.c
Log:
* compile.c (iseq_compile): set local_table for
ISEQ_TYPE_DEFINED_GUARD.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/compile.c?r1=16588&r2=16587&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16588&r2=16587&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 16587)
+++ ChangeLog (revision 16588)
@@ -1,3 +1,8 @@
+Sun May 25 17:54:36 2008 Yusuke Endoh <mame@t...>
+
+ * compile.c (iseq_compile): set local_table for
+ ISEQ_TYPE_DEFINED_GUARD.
+
Sun May 25 17:52:25 2008 Yusuke Endoh <mame@t...>
* compile.c (iseq_build_body): remove side effect from
Index: compile.c
===================================================================
--- compile.c (revision 16587)
+++ compile.c (revision 16588)
@@ -268,6 +268,7 @@
COMPILE_POPED(ret, "ensure", node);
break;
case ISEQ_TYPE_DEFINED_GUARD:
+ iseq_set_local_table(iseq, 0);
COMPILE(ret, "defined guard", node);
break;
default:
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/