зеркало из https://github.com/github/ruby.git
* 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:
Родитель
8742de6f10
Коммит
a93136879e
|
@ -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>
|
Sun May 25 17:52:25 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
* compile.c (iseq_build_body): remove side effect from
|
* compile.c (iseq_build_body): remove side effect from
|
||||||
|
|
|
@ -268,6 +268,7 @@ iseq_compile(VALUE self, NODE *node)
|
||||||
COMPILE_POPED(ret, "ensure", node);
|
COMPILE_POPED(ret, "ensure", node);
|
||||||
break;
|
break;
|
||||||
case ISEQ_TYPE_DEFINED_GUARD:
|
case ISEQ_TYPE_DEFINED_GUARD:
|
||||||
|
iseq_set_local_table(iseq, 0);
|
||||||
COMPILE(ret, "defined guard", node);
|
COMPILE(ret, "defined guard", node);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче