diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-13 20:35:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-13 20:35:35 -0800 |
commit | 3dd4e381fe3c7faf886145ad7ab2152c6b199d69 (patch) | |
tree | 6e3fe348a83f90b401a1258a8bf0b50fc122b0b9 /yjit.h | |
parent | ea278ddd921bcafc3be2a79a7f0f68685e56da3b (diff) |
Reduce the number of branches in jit_exec (#6722)
* Reduce the number of branches in jit_exec
* Address build failure in some configurations
* Refactor yjit.h
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'yjit.h')
-rw-r--r-- | yjit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ # define YJIT_STATS RUBY_DEBUG #endif -#if USE_YJIT +#if USE_YJIT && !defined(MJIT_HEADER) // MJIT and YJIT can't be enabled simultaneously // We generate x86 or arm64 assembly #if defined(_WIN32) ? defined(_M_AMD64) : (defined(__x86_64__) || defined(__aarch64__)) |