From ed130faf2878c383cab52fa5ed887837e04f303d Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 10 Mar 2015 18:50:15 +0000 Subject: * 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 --- vm_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_dump.c') diff --git a/vm_dump.c b/vm_dump.c index a0d8bcb4d1..45e4cb238e 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -36,7 +36,7 @@ control_frame_dump(rb_thread_t *th, rb_control_frame_t *cfp) const char *magic, *iseq_name = "-", *selfstr = "-", *biseq_name = "-"; VALUE tmp; - if (cfp->block_iseq != 0 && BUILTIN_TYPE(cfp->block_iseq) != T_NODE) { + if (cfp->block_iseq != 0 && !RUBY_VM_IFUNC_P(cfp->block_iseq)) { biseq_name = ""; /* RSTRING(cfp->block_iseq->location.label)->ptr; */ } -- cgit v1.2.3