summaryrefslogtreecommitdiff
path: root/yjit.h
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 /yjit.h
parentf3dcb4bbf7253690abba02e64a051390c55237cb (diff)
downloadruby-cdebf57ec670f35cf07460778e40f6801050ffb5.tar.gz
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
Diffstat (limited to 'yjit.h')
-rw-r--r--yjit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/yjit.h b/yjit.h
index a3d8594a5d..c254c02cd8 100644
--- a/yjit.h
+++ b/yjit.h
@@ -29,6 +29,9 @@ struct rb_yjit_options {
// Generate versions greedily until the limit is hit
bool greedy_versioning;
+ // Disable the propagation of type information
+ bool no_type_prop;
+
// Maximum number of versions per block
// 1 means always create generic versions
unsigned max_versions;