diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-06 06:53:15 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-06 06:53:15 +0000 |
commit | 104ca9f4df386721476e0bfe107b323b68f3e0a5 (patch) | |
tree | e36a576934aeb9603a9ab357a4c87743b772b0c5 /vm_trace.c | |
parent | ec02c4861b5be7abcae326e5c0c01848c2143889 (diff) |
remove unsupported RUBY_EVENT_SPECIFIED_LINE.
* vm_trace.c (get_event_id): remove experimental in past, and not supported
now feature.
* vm_trace.c (tracepoint_inspect): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vm_trace.c b/vm_trace.c index d3562a3f6c..606fe7b43a 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -591,7 +591,7 @@ get_event_id(rb_event_flag_t event) C(thread_end, THREAD_END); C(fiber_switch, FIBER_SWITCH); C(specified_line, SPECIFIED_LINE); - case RUBY_EVENT_LINE | RUBY_EVENT_SPECIFIED_LINE: CONST_ID(id, "line"); return id; + case RUBY_EVENT_LINE: CONST_ID(id, "line"); return id; #undef C default: return 0; @@ -1339,7 +1339,6 @@ tracepoint_inspect(VALUE self) if (trace_arg) { switch (trace_arg->event) { case RUBY_EVENT_LINE: - case RUBY_EVENT_SPECIFIED_LINE: { VALUE sym = rb_tracearg_method_id(trace_arg); if (NIL_P(sym)) |