summaryrefslogtreecommitdiff
path: root/yjit.h
diff options
context:
space:
mode:
authorNAKAMURA Usaku <usa@ruby-lang.org>2021-12-31 20:13:11 +0900
committerNAKAMURA Usaku <usa@ruby-lang.org>2021-12-31 20:13:11 +0900
commita493732c8e4d038885ae40c71dd3fc5118f36809 (patch)
tree7aee89f307d6e5440f17230fd9963bb86bd4fe7d /yjit.h
parent93591d31b07ca6c644b6322ed2936b455cfa0b84 (diff)
downloadruby-a493732c8e4d038885ae40c71dd3fc5118f36809.tar.gz
re-enabled YJIT on x64-mswin64
note that YJIT does not work correctly on the platform now.
Diffstat (limited to 'yjit.h')
-rw-r--r--yjit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit.h b/yjit.h
index c500fb1a69..cc1e23d327 100644
--- a/yjit.h
+++ b/yjit.h
@@ -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