aboutsummaryrefslogtreecommitdiffstats
path: root/mjit_compile.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-05-01 02:12:42 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2020-05-01 02:12:42 -0700
commit90969edf9bfa7cb87c0818f930bb6b548867a99f (patch)
treef73a06d7dd6b277b8867bcb82929a5cbf8c1dea5 /mjit_compile.c
parent72aa4dd183921aaf7405d8611af4ca5613bfaf4d (diff)
downloadruby-90969edf9bfa7cb87c0818f930bb6b548867a99f.tar.gz
Fix a wrong argument of vm_exec on JIT cancel
Diffstat (limited to 'mjit_compile.c')
-rw-r--r--mjit_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit_compile.c b/mjit_compile.c
index 57ab034494..9ceca5b306 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -256,7 +256,7 @@ compile_inlined_cancel_handler(FILE *f, const struct rb_iseq_constant_body *body
}
// We're not just returning Qundef here so that caller's normal cancel handler can
// push back `stack` to `cfp->sp`.
- fprintf(f, " return vm_exec(ec, ec->cfp);\n");
+ fprintf(f, " return vm_exec(ec, FALSE);\n");
}
// Print the block to cancel JIT execution.