diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-11 13:31:11 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-11 13:31:11 +0000 |
commit | 7790f37efdd8dd42a0a43c3206f6afdd43f8e86a (patch) | |
tree | 38d8c41ba56f432da983148757c6c8b7ee36196b /vm_insnhelper.c | |
parent | 48cb7391190612c77375f924c1e202178f09f559 (diff) | |
download | ruby-7790f37efdd8dd42a0a43c3206f6afdd43f8e86a.tar.gz |
* node.h: remove NODE_IFUNC, NEW_IFUNC.
* internal.h: use T_IMEMO for IFUNC.
rename `struct IFUNC' to `struct vm_ifunc' and move the definition
from vm_insnhelper.h. Add imemo_ifunc.
* gc.c (gc_mark_children): mark imemo_ifunc type T_IMEMO object.
* compile.c: catch up these changes.
* proc.c: ditto.
* vm_core.h (RUBY_VM_IFUNC_P): ditto.
* vm_eval.c (rb_iterate): ditto.
* vm_insnhelper.c: ditto.
* ext/objspace/objspace.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index de7d76bd65..0bede8f8ac 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -2044,7 +2044,7 @@ vm_yield_with_cfunc(rb_thread_t *th, const rb_block_t *block, int argc, const VALUE *argv, const rb_block_t *blockargptr) { - struct IFUNC *ifunc = (struct IFUNC *)block->iseq; + const struct vm_ifunc *ifunc = (struct vm_ifunc *)block->iseq; VALUE val, arg, blockarg; int lambda = block_proc_is_lambda(block->proc); |