summaryrefslogtreecommitdiff
path: root/vm_trace.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-12 17:44:30 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-13 09:47:08 +0900
commit0c2d81dada88b5a3946c3162187df4223bfe6b4f (patch)
treeae1fc5e5aef4fcbd0a422c476ba026249fc646e3 /vm_trace.c
parentaac4d9d6c7e6b6b0742f3941b574f6006ccb5672 (diff)
Renamed ruby_finalize_{0,1}
And pass rb_execution_context_t as an argument.
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);