diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-19 06:33:05 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-19 06:33:05 +0000 |
commit | faab6c469f265a417a9a44fa469bf5ef0e10b459 (patch) | |
tree | 23d30e424298fb5d13b44e0e95a0bc8f099c3502 /compile.c | |
parent | f602eabee6ff1e53f28df47a3168fad106e0d4f2 (diff) | |
download | ruby-faab6c469f265a417a9a44fa469bf5ef0e10b459.tar.gz |
* compile.c (iseq_compile_each): T_IMEMO/iseq objects should be
wrap with ISeq wrappers. [Bug #11676]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5357,7 +5357,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) rb_id2str(node->nd_mid), ISEQ_TYPE_METHOD, line); - debugp_param("defn/iseq", (VALUE)method_iseq); + debugp_param("defn/iseq", rb_iseqw_new(method_iseq)); ADD_INSN1(ret, line, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_VMCORE)); ADD_INSN1(ret, line, putobject, ID2SYM(node->nd_mid)); @@ -5375,7 +5375,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) rb_id2str(node->nd_mid), ISEQ_TYPE_METHOD, line); - debugp_param("defs/iseq", (VALUE)singleton_method); + debugp_param("defs/iseq", rb_iseqw_new(singleton_method)); ADD_INSN1(ret, line, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_VMCORE)); COMPILE(ret, "defs: recv", node->nd_recv); |