summaryrefslogtreecommitdiff
path: root/vm_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/vm_trace.c b/vm_trace.c
index ac7550d7e9..eb1c2afa4e 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -270,13 +270,6 @@ rb_remove_event_hook_with_data(rb_event_hook_func_t func, VALUE data)
}
void
-rb_clear_trace_func(void)
-{
- rb_execution_context_t *ec = GET_EC();
- rb_threadptr_remove_event_hook(ec, MATCH_ANY_FILTER_TH, 0, Qundef);
-}
-
-void
rb_ec_clear_current_thread_trace_func(const rb_execution_context_t *ec)
{
rb_threadptr_remove_event_hook(ec, rb_ec_thread_ptr(ec), 0, Qundef);