aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-10 18:50:15 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-10 18:50:15 +0000
commited130faf2878c383cab52fa5ed887837e04f303d (patch)
treeae6d0fa8b687b57f94bc71b1d812b8c44ad94025 /vm_insnhelper.c
parent46cdb8f18766383a9e11b5a6e9a0c010e7e8653a (diff)
downloadruby-ed130faf2878c383cab52fa5ed887837e04f303d.tar.gz
* proc.c: use RUBY_VM_IFUNC_P() to recognize IFUNC or not.
* vm.c: ditto. * vm_dump.c: ditto. * vm_insnhelper.c: ditto. * vm_core.h: use RB_TYPE_P() instead of BUILTIN_TYPE(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 8b907bfc35..ada648e75f 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -2110,7 +2110,7 @@ vm_invoke_block(rb_thread_t *th, rb_control_frame_t *reg_cfp, rb_call_info_t *ci
}
iseq = block->iseq;
- if (BUILTIN_TYPE(iseq) != T_NODE) {
+ if (!RUBY_VM_IFUNC_P(iseq)) {
int opt_pc;
const int arg_size = iseq->param.size;
int is_lambda = block_proc_is_lambda(block->proc);