summaryrefslogtreecommitdiff
path: root/yjit_iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'yjit_iface.c')
-rw-r--r--yjit_iface.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/yjit_iface.c b/yjit_iface.c
index a569128dce..917a32cbfa 100644
--- a/yjit_iface.c
+++ b/yjit_iface.c
@@ -1232,8 +1232,7 @@ rb_yjit_init(struct rb_yjit_options *options)
}
// If type propagation is disabled, max 1 version per block
- if (rb_yjit_opts.no_type_prop)
- {
+ if (rb_yjit_opts.no_type_prop) {
rb_yjit_opts.max_versions = 1;
}
@@ -1241,8 +1240,8 @@ rb_yjit_init(struct rb_yjit_options *options)
blocks_assuming_single_ractor_mode = st_init_numtable();
blocks_assuming_bops = st_init_numtable();
- yjit_init_core();
yjit_init_codegen();
+ yjit_init_core();
// YJIT Ruby module
mYjit = rb_define_module_under(rb_cRubyVM, "YJIT");