summaryrefslogtreecommitdiff
path: root/mjit.c
diff options
context:
space:
mode:
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index 340abd1b09..275ca5c9f5 100644
--- a/mjit.c
+++ b/mjit.c
@@ -334,7 +334,7 @@ rb_mjit_compile(const rb_iseq_t *iseq)
mjit_stats_p = false; // Avoid impacting JIT stats by itself
VALUE iseq_ptr = rb_funcall(rb_cMJITIseqPtr, rb_intern("new"), 1, SIZET2NUM((size_t)iseq));
- rb_funcall(rb_MJITCompiler, rb_intern("call"), 1, iseq_ptr);
+ rb_funcall(rb_MJITCompiler, rb_intern("compile"), 1, iseq_ptr);
mjit_stats_p = mjit_opts.stats;
mjit_call_p = original_call_p;