diff options
author | Aaron Patterson <[email protected]> | 2021-09-08 09:47:00 -0700 |
---|---|---|
committer | Alan Wu <[email protected]> | 2021-10-20 18:19:40 -0400 |
commit | 9d5beb6fde45c8182d8dc6b8baade2fa5a6f4e07 (patch) | |
tree | 5a1208def95579f446960c718f87e1ec4aa80737 /ruby.c | |
parent | ea453acf596ba436838ce17809c1cf6dc70fa738 (diff) |
Disable YJIT by default if MJIT_FORCE_ENABLE is on
Compile time flag seems pretty forceful, so let MJIT turn on by default
if it is used.
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -233,8 +233,9 @@ cmdline_options_init(ruby_cmdline_options_t *opt) opt->features.set = DEFAULT_FEATURES; #ifdef MJIT_FORCE_ENABLE /* to use with: ./configure cppflags="-DMJIT_FORCE_ENABLE" */ opt->features.set |= FEATURE_BIT(jit); -#endif +#else opt->features.set |= FEATURE_BIT(yjit); +#endif return opt; } |