summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-09-07 14:26:29 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2022-09-07 14:26:58 +0900
commitcac0dcfbffe630a0c763392358ca745007ae854d (patch)
treefec557b751a09e6c6a567a601142447bde59108a
parent496bdf01e25cb13f0b676d0f23f47bb04907b1f6 (diff)
Fix typo
I meant the other one. Otherwise this option doesn't make sense.
-rw-r--r--mjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index 864e682c24..1997eaa939 100644
--- a/mjit.c
+++ b/mjit.c
@@ -1958,7 +1958,7 @@ mjit_resume(void)
// Lazily prepare PCH when --mjit=pause is given
if (pch_status == PCH_NOT_READY) {
- if (rb_respond_to(rb_mMJITCompiler, rb_intern("compile"))) {
+ if (rb_respond_to(rb_mMJIT, rb_intern("compile"))) {
// [experimental] defining RubyVM::MJIT.compile allows you to replace JIT
mjit_opts.custom = true;
pch_status = PCH_SUCCESS;