summaryrefslogtreecommitdiff
path: root/yjit_iface.c
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-06-23 13:55:34 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:36 -0400
commit7030cae969085f2849bc265047397fadff8b97e3 (patch)
tree9453674aea8f82e1d4dc0e9d4b63e198e5e52ac8 /yjit_iface.c
parentb63fcafbc953205a6547bff74cbfcb906f1f87fe (diff)
Try running with more YJIT options in CI to surface more bugs
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();