diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-08-16 12:51:16 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-08-29 08:47:11 -0700 |
commit | c38e9111478773a20656bfe5329cdab78dfb075b (patch) | |
tree | 8a8a8572627506af51008616433b1e21bc0336af /yjit.h | |
parent | 95dce1ccacb5e893bbd2bfb100c0778c5be83d47 (diff) |
Allow aarch64 to build YJIT
Diffstat (limited to 'yjit.h')
-rw-r--r-- | yjit.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,8 +17,8 @@ #if USE_YJIT -// We generate x86 assembly -#if defined(_WIN32) ? defined(_M_AMD64) : defined(__x86_64__) +// We generate x86 or arm64 assembly +#if defined(_WIN32) ? defined(_M_AMD64) : (defined(__x86_64__) || defined(__aarch64__)) // x86_64 platforms without mingw/msys or x64-mswin #else # error YJIT unsupported platform |