summaryrefslogtreecommitdiff
path: root/yjit_iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'yjit_iface.c')
-rw-r--r--yjit_iface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit_iface.c b/yjit_iface.c
index 754a2d6529..e8f268e48c 100644
--- a/yjit_iface.c
+++ b/yjit_iface.c
@@ -1100,8 +1100,8 @@ rb_yjit_init(struct rb_yjit_options *options)
if (rb_yjit_opts.call_threshold < 1) {
rb_yjit_opts.call_threshold = 10;
}
- if (rb_yjit_opts.version_limit < 1) {
- rb_yjit_opts.version_limit = 4;
+ if (rb_yjit_opts.max_versions < 1) {
+ rb_yjit_opts.max_versions = 4;
}
blocks_assuming_stable_global_constant_state = st_init_numtable();