diff options
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_trace.c b/vm_trace.c index a96e733741..5930274be8 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -662,6 +662,8 @@ symbol2event_flag(VALUE v) C(thread_end, THREAD_END); C(specified_line, SPECIFIED_LINE); #undef C + CONST_ID(id, "a_call"); if (sym == ID2SYM(id)) return RUBY_EVENT_CALL | RUBY_EVENT_B_CALL | RUBY_EVENT_C_CALL; + CONST_ID(id, "a_return"); if (sym == ID2SYM(id)) return RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN | RUBY_EVENT_C_RETURN; rb_raise(rb_eArgError, "unknown event: %s", rb_id2name(SYM2ID(sym))); } |