From 104ca9f4df386721476e0bfe107b323b68f3e0a5 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 6 Dec 2017 06:53:15 +0000 Subject: 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 --- vm_trace.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vm_trace.c') 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)) -- cgit v1.2.1