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
This commit is contained in:
parent
ec02c4861b
commit
104ca9f4df
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user