зеркало из https://github.com/github/ruby.git
YJIT: check machine arch before enabling
So we don't try to run x64 on ARM.
This commit is contained in:
Родитель
b74d6563a6
Коммит
c062028d37
6
yjit.c
6
yjit.c
|
@ -22,10 +22,10 @@
|
||||||
# define YJIT_DUMP_MODE 0
|
# define YJIT_DUMP_MODE 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined(__x86_64__) && !defined(_WIN32)
|
||||||
# define PLATFORM_SUPPORTED_P 0
|
|
||||||
#else
|
|
||||||
# define PLATFORM_SUPPORTED_P 1
|
# define PLATFORM_SUPPORTED_P 1
|
||||||
|
#else
|
||||||
|
# define PLATFORM_SUPPORTED_P 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// USE_MJIT comes from configure options
|
// USE_MJIT comes from configure options
|
||||||
|
|
Загрузка…
Ссылка в новой задаче