diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-06 18:40:22 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-06 18:40:23 -0700 |
commit | f0661bf3a04a3edfe157462f87e2c588dca955ad (patch) | |
tree | 6b4ee692fe0fc15a3c1d1c94154bdbb608046cba /mjit.c | |
parent | e6b47f2fb077d1a3bcef9100846b633989a93cfe (diff) |
Skip early mjit_add_iseq_to_process on --mjit=pause
Diffstat (limited to 'mjit.c')
-rw-r--r-- | mjit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1432,7 +1432,7 @@ mjit_hook_custom_compile(const rb_iseq_t *iseq) static void mjit_add_iseq_to_process(const rb_iseq_t *iseq, const struct rb_mjit_compile_info *compile_info, bool recompile_p) { - if (!mjit_enabled || pch_status == PCH_FAILED || !rb_ractor_main_p()) // TODO: Support non-main Ractors + if (!mjit_enabled || pch_status != PCH_SUCCESS || !rb_ractor_main_p()) // TODO: Support non-main Ractors return; if (mjit_opts.custom) { mjit_hook_custom_compile(iseq); |