diff options
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/vm_trace.c b/vm_trace.c index f26808fa63..4e79ae279a 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -298,8 +298,8 @@ exec_hooks_protected(rb_execution_context_t *ec, rb_hook_list_t *list, const rb_ return state; } -static void -rb_exec_event_hooks_orig(rb_trace_arg_t *trace_arg, int pop_p) +void +rb_exec_event_hooks(rb_trace_arg_t *trace_arg, int pop_p) { rb_execution_context_t *ec = trace_arg->ec; rb_vm_t *vm = rb_ec_vm_ptr(ec); @@ -362,18 +362,6 @@ rb_exec_event_hooks_orig(rb_trace_arg_t *trace_arg, int pop_p) } } -void -rb_threadptr_exec_event_hooks_and_pop_frame(rb_trace_arg_t *trace_arg) -{ - rb_exec_event_hooks_orig(trace_arg, 1); -} - -void -rb_threadptr_exec_event_hooks(rb_trace_arg_t *trace_arg) -{ - rb_exec_event_hooks_orig(trace_arg, 0); -} - VALUE rb_suppress_tracing(VALUE (*func)(VALUE), VALUE arg) { |