summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-11-18 10:44:31 -0500
committerGitHub <noreply@github.com>2021-11-18 10:44:31 -0500
commitcdebf57ec670f35cf07460778e40f6801050ffb5 (patch)
treec279524b6e949311aef31fbf9acc1533d5abb58e /ruby.c
parentf3dcb4bbf7253690abba02e64a051390c55237cb (diff)
Add --yjit-no-type-prop so we can test YJIT without type propagation (#5135)
* Add --yjit-no-type-prop so we can test YJIT without type propagation * Fix typo in command line option * Leave just two test workflows enable for YJIT
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 0c64d4e1ce..c04810acf3 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1091,6 +1091,9 @@ setup_yjit_options(const char *s, struct rb_yjit_options *yjit_opt)
else if (yjit_opt_match_noarg(s, l, "greedy-versioning")) {
yjit_opt->greedy_versioning = true;
}
+ else if (yjit_opt_match_noarg(s, l, "no-type-prop")) {
+ yjit_opt->no_type_prop = true;
+ }
else if (yjit_opt_match_noarg(s, l, "stats")) {
yjit_opt->gen_stats = true;
}