From c7e4f91246a0508c15f2d5d10d0a3de7ba3152ff Mon Sep 17 00:00:00 2001 From: mame Date: Wed, 6 Dec 2017 07:04:49 +0000 Subject: insns.def (tracebranch): renamed from `trace2` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 2 +- insns.def | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compile.c b/compile.c index b18840c022..c7dd5cb281 100644 --- a/compile.c +++ b/compile.c @@ -288,7 +288,7 @@ struct iseq_compile_data_ensure_node_stack { rb_ary_push(branches, INT2FIX(last_line)); \ rb_ary_push(branches, INT2FIX(last_column)); \ rb_ary_push(branches, INT2FIX(counter_idx)); \ - ADD_INSN2((seq), (first_line), trace2, INT2FIX(RUBY_EVENT_COVERAGE), INT2FIX(counter_idx)); \ + ADD_INSN2((seq), (first_line), tracebranch, INT2FIX(RUBY_EVENT_COVERAGE), INT2FIX(counter_idx)); \ } \ } while (0) diff --git a/insns.def b/insns.def index 4a5f39732c..1c20573254 100644 --- a/insns.def +++ b/insns.def @@ -778,11 +778,11 @@ checkkeyword /** @c setting - @e trace - @j trace 用の命令。 + @e trace a branch + @j 分岐を trace する */ DEFINE_INSN -trace2 +tracebranch (rb_num_t nf, VALUE data) () () -- cgit v1.2.3