ruby-changes:58819
From: Koichi <ko1@a...>
Date: Mon, 18 Nov 2019 13:54:02 +0900 (JST)
Subject: [ruby-changes:58819] 57cd4623cf (master): should not use __func__
https://git.ruby-lang.org/ruby.git/commit/?id=57cd4623cf From 57cd4623cfb56d12eb308eaf5fb09612e4572c19 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Mon, 18 Nov 2019 13:36:34 +0900 Subject: should not use __func__ diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 616945f..77f4d70 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, https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L4997 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; -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/