aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compile.c2
-rw-r--r--insns.def6
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)
()
()