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 349063e1ec..90c2bd25ff 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -554,9 +554,6 @@ call_trace_func(rb_event_flag_t event, VALUE proc, VALUE self, ID id, VALUE klas
rb_thread_method_id_and_class(th, &id, &klass);
}
- if (id == ID_ALLOCATOR)
- return;
-
if (klass) {
if (RB_TYPE_P(klass, T_ICLASS)) {
klass = RBASIC(klass)->klass;
@@ -778,10 +775,6 @@ tp_call_trace(VALUE tpval, rb_trace_arg_t *trace_arg)
rb_thread_t *th = GET_THREAD();
int state;
- if (UNLIKELY(trace_arg->id == ID_ALLOCATOR)) {
- return;
- }
-
tp->trace_arg = trace_arg;
TH_PUSH_TAG(th);