1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

re-enabled YJIT on x64-mswin64

note that YJIT does not work correctly on the platform now.
This commit is contained in:
NAKAMURA Usaku 2021-12-31 20:13:11 +09:00
parent 93591d31b0
commit a493732c8e

2
yjit.h
View file

@ -16,7 +16,7 @@
#endif
// We generate x86 assembly
#if defined(__x86_64__)
#if (defined(__x86_64__) && !defined(_WIN32)) || (defined(_WIN32) && defined(_M_AMD64)) // x64 platforms without mingw/msys
# define YJIT_SUPPORTED_P 1
#else
# define YJIT_SUPPORTED_P 0