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
This commit is contained in:
Maxime Chevalier-Boisvert 2021-11-18 10:44:31 -05:00 committed by GitHub
parent f3dcb4bbf7
commit cdebf57ec6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2021-11-19 00:45:02 +09:00
Merged-By: maximecb <maximecb@ruby-lang.org>
7 changed files with 40 additions and 4 deletions

3
yjit.h
View file

@ -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;