ruby-changes:48926
From: ko1 <ko1@a...>
Date: Wed, 6 Dec 2017 15:53:20 +0900 (JST)
Subject: [ruby-changes:48926] ko1:r61044 (trunk): remove unsupported RUBY_EVENT_SPECIFIED_LINE.
ko1 2017-12-06 15:53:15 +0900 (Wed, 06 Dec 2017) New Revision: 61044 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61044 Log: 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. Modified files: trunk/vm_trace.c Index: vm_trace.c =================================================================== --- vm_trace.c (revision 61043) +++ vm_trace.c (revision 61044) @@ -591,7 +591,7 @@ get_event_id(rb_event_flag_t event) https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L591 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) https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L1339 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)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/