Allow aarch64 to build YJIT
This commit is contained in:
parent
95dce1ccac
commit
c38e911147
4
yjit.h
4
yjit.h
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
#if USE_YJIT
|
#if USE_YJIT
|
||||||
|
|
||||||
// We generate x86 assembly
|
// We generate x86 or arm64 assembly
|
||||||
#if defined(_WIN32) ? defined(_M_AMD64) : defined(__x86_64__)
|
#if defined(_WIN32) ? defined(_M_AMD64) : (defined(__x86_64__) || defined(__aarch64__))
|
||||||
// x86_64 platforms without mingw/msys or x64-mswin
|
// x86_64 platforms without mingw/msys or x64-mswin
|
||||||
#else
|
#else
|
||||||
# error YJIT unsupported platform
|
# error YJIT unsupported platform
|
||||||
|
Loading…
x
Reference in New Issue
Block a user