summaryrefslogtreecommitdiff
path: root/vm_trace.c
diff options
context:
space:
mode:
-rw-r--r--vm_trace.c6
1 files changed, 3 insertions, 3 deletions
@@ -1321,7 +1321,7 @@ tracepoint_enable_m(rb_execution_context_t *ec, VALUE tpval, VALUE target, VALUE
tpval);
}
else {
- return previous_tracing ? Qtrue : Qfalse;
}
}
@@ -1343,7 +1343,7 @@ tracepoint_disable_m(rb_execution_context_t *ec, VALUE tpval)
}
else {
rb_tracepoint_disable(tpval);
- return previous_tracing ? Qtrue : Qfalse;
}
}
@@ -1351,7 +1351,7 @@ VALUE
rb_tracepoint_enabled_p(VALUE tpval)
{
rb_tp_t *tp = tpptr(tpval);
- return tp->tracing ? Qtrue : Qfalse;
}
static VALUE