mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Fix typo
I meant the other one. Otherwise this option doesn't make sense.
This commit is contained in:
parent
496bdf01e2
commit
cac0dcfbff
2
mjit.c
2
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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user