mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* compile.c (build_postexe_iseq): fix to setup the local table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7e5d63f483
commit
5a87332ef9
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Aug 22 16:22:48 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* compile.c (build_postexe_iseq): fix to setup the local table.
|
||||
|
||||
Thu Aug 22 15:42:43 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* compile.c (rb_iseq_compile_node): accept NODE_IFUNC to support
|
||||
|
|
|
@ -3166,6 +3166,7 @@ build_postexe_iseq(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE *body)
|
|||
VALUE block = NEW_CHILD_ISEQVAL(body, make_name_for_block(iseq->parent_iseq), ISEQ_TYPE_BLOCK, line);
|
||||
ADD_INSN1(ret, line, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_VMCORE));
|
||||
ADD_CALL_WITH_BLOCK(ret, line, ID2SYM(id_core_set_postexe), argc, block);
|
||||
iseq_set_local_table(iseq, 0);
|
||||
return Qnil;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue