aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-11-18 13:36:34 +0900
committerKoichi Sasada <ko1@atdot.net>2019-11-18 13:53:32 +0900
commit57cd4623cfb56d12eb308eaf5fb09612e4572c19 (patch)
tree2f83294a1d796010b49ecaa2d95a5d37d5865bd5 /vm_insnhelper.c
parent22c9504905114cfb58ebc0aa631200f0caafd4e0 (diff)
downloadruby-57cd4623cfb56d12eb308eaf5fb09612e4572c19.tar.gz
should not use __func__
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 616945fa4c..77f4d701d6 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -4997,7 +4997,7 @@ vm_invoke_builtin_delegate(rb_execution_context_t *ec, rb_control_frame_t *cfp,
fprintf(stderr, ":%s ", rb_id2name(cfp->iseq->body->local_table[i+start_index]));
}
fprintf(stderr, "\n");
- fprintf(stderr, "%s %s(%d):%p\n", __func__, bf->name, bf->argc, bf->func_ptr);
+ fprintf(stderr, "%s %s(%d):%p\n", RUBY_FUNCTION_NAME_STRING, bf->name, bf->argc, bf->func_ptr);
}
const VALUE *argv = cfp->ep - cfp->iseq->body->local_table_size - VM_ENV_DATA_SIZE + 1 + start_index;