ruby-changes:69230
From: Aaron <ko1@a...>
Date: Thu, 21 Oct 2021 08:24:17 +0900 (JST)
Subject: [ruby-changes:69230] ea453acf59 (master): disable MJIT when --enable-all is set
https://git.ruby-lang.org/ruby.git/commit/?id=ea453acf59 From ea453acf596ba436838ce17809c1cf6dc70fa738 Mon Sep 17 00:00:00 2001 From: Aaron Patterson <tenderlove@r...> Date: Wed, 8 Sep 2021 09:35:23 -0700 Subject: disable MJIT when --enable-all is set --- ruby.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ruby.c b/ruby.c index 3ecbff8170..bf161f6df7 100644 --- a/ruby.c +++ b/ruby.c @@ -925,6 +925,7 @@ feature_option(const char *str, int len, void *arg, const unsigned int enable) https://github.com/ruby/ruby/blob/trunk/ruby.c#L925 if (NAME_MATCH_P(#bit, str, len)) {set |= mask = FEATURE_BIT(bit); FEATURE_FOUND;} EACH_FEATURES(SET_FEATURE, ;); if (NAME_MATCH_P("all", str, len)) { + mask &= ~(FEATURE_BIT(jit)); goto found; } #if AMBIGUOUS_FEATURE_NAMES -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/