diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-12 17:44:30 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-13 09:47:08 +0900 |
commit | 0c2d81dada88b5a3946c3162187df4223bfe6b4f (patch) | |
tree | ae1fc5e5aef4fcbd0a422c476ba026249fc646e3 /vm_trace.c | |
parent | aac4d9d6c7e6b6b0742f3941b574f6006ccb5672 (diff) | |
download | ruby-0c2d81dada88b5a3946c3162187df4223bfe6b4f.tar.gz |
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.c | 7 |
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); |