aboutsummaryrefslogtreecommitdiffstats
path: root/mjit.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-09-06 18:25:16 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2022-09-06 18:25:46 -0700
commitf24c65ea7e68d97e92e5ccdb0e1a95c017dc5ebf (patch)
treef4d4bc96a8260aa2bbc7387defb45e1b9c5f2b41 /mjit.c
parent6a43245e6cda89eddd105f5a6e0182a7229657af (diff)
downloadruby-f24c65ea7e68d97e92e5ccdb0e1a95c017dc5ebf.tar.gz
Skip calling check_unit_queue with mjit_opts.custom
fixing the behavior of b726c06e7eeafff52e368179dbe79a11b1aff975
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mjit.c b/mjit.c
index d3e18c112c..04bdf404b7 100644
--- a/mjit.c
+++ b/mjit.c
@@ -1237,6 +1237,7 @@ static void mjit_wait(struct rb_iseq_constant_body *body);
static void
check_unit_queue(void)
{
+ if (mjit_opts.custom) return;
if (worker_stopped) return;
if (current_cc_pid != 0) return; // still compiling