From 7790f37efdd8dd42a0a43c3206f6afdd43f8e86a Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 11 Mar 2015 13:31:11 +0000 Subject: * 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 --- vm_insnhelper.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'vm_insnhelper.h') diff --git a/vm_insnhelper.h b/vm_insnhelper.h index ab72b2217f..e8d9b8a88d 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -265,12 +265,4 @@ THROW_DATA_STATE(const struct vm_throw_data *obj) return (int)obj->throw_state; } -struct IFUNC { - VALUE flags; - VALUE reserved; - VALUE (*func)(ANYARGS); - void *data; - ID id; -}; - #endif /* RUBY_INSNHELPER_H */ -- cgit v1.2.1