summaryrefslogtreecommitdiff
path: root/ruby.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 /ruby.c
parentb63fcafbc953205a6547bff74cbfcb906f1f87fe (diff)
Try running with more YJIT options in CI to surface more bugs
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index c7bc2ad7a8..8440969650 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1042,8 +1042,8 @@ setup_yjit_options(const char *s, struct rb_yjit_options *yjit_opt)
else if (opt_match_arg(s, l, "call-threshold")) {
yjit_opt->call_threshold = atoi(s + 1);
}
- else if (opt_match_arg(s, l, "version-limit")) {
- yjit_opt->version_limit = atoi(s + 1);
+ else if (opt_match_arg(s, l, "max-versions")) {
+ yjit_opt->max_versions = atoi(s + 1);
}
else if (opt_match_noarg(s, l, "greedy-versioning")) {
yjit_opt->greedy_versioning = true;