1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* compile.c (iseq_compile): set local_table for

ISEQ_TYPE_DEFINED_GUARD.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2008-05-25 08:55:09 +00:00
parent 8742de6f10
commit a93136879e
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Sun May 25 17:54:36 2008 Yusuke Endoh <mame@tsg.ne.jp>
* compile.c (iseq_compile): set local_table for
ISEQ_TYPE_DEFINED_GUARD.
Sun May 25 17:52:25 2008 Yusuke Endoh <mame@tsg.ne.jp>
* compile.c (iseq_build_body): remove side effect from

View file

@ -268,6 +268,7 @@ iseq_compile(VALUE self, NODE *node)
COMPILE_POPED(ret, "ensure", node);
break;
case ISEQ_TYPE_DEFINED_GUARD:
iseq_set_local_table(iseq, 0);
COMPILE(ret, "defined guard", node);
break;
default: