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

Do not support non-x86_64 platforms

This was probably not intended in 85a426dc86.
This commit is contained in:
Takashi Kokubun 2021-12-27 19:57:04 -08:00
parent f445eccfb4
commit 91b7be7708
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

4
yjit.h
View file

@ -15,8 +15,8 @@
# define YJIT_STATS RUBY_DEBUG
#endif
// We generate x86 assembly and rely on mmap(2).
#if defined(__x86_64__) || defined(_WIN64)
// We generate x86 assembly
#if defined(__x86_64__)
# define YJIT_SUPPORTED_P 1
#else
# define YJIT_SUPPORTED_P 0