diff options
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_trace.c b/vm_trace.c index fabb15be2f..38880d2dc8 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -70,7 +70,9 @@ update_global_event_hook(rb_event_flag_t vm_events) if (new_iseq_events & ~enabled_iseq_events) { /* Stop calling all JIT-ed code. Compiling trace insns is not supported for now. */ +#if USE_MJIT mjit_call_p = FALSE; +#endif /* write all ISeqs iff new events are added */ rb_iseq_trace_set_all(new_iseq_events | enabled_iseq_events); |