From cac0dcfbffe630a0c763392358ca745007ae854d Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 7 Sep 2022 14:26:29 +0900 Subject: Fix typo I meant the other one. Otherwise this option doesn't make sense. --- mjit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mjit.c') 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; -- cgit v1.2.3