ruby-changes:70677
From: NAKAMURA <ko1@a...>
Date: Fri, 31 Dec 2021 20:14:27 +0900 (JST)
Subject: [ruby-changes:70677] a493732c8e (master): re-enabled YJIT on x64-mswin64
https://git.ruby-lang.org/ruby.git/commit/?id=a493732c8e From a493732c8e4d038885ae40c71dd3fc5118f36809 Mon Sep 17 00:00:00 2001 From: NAKAMURA Usaku <usa@r...> Date: Fri, 31 Dec 2021 20:13:11 +0900 Subject: re-enabled YJIT on x64-mswin64 note that YJIT does not work correctly on the platform now. --- yjit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yjit.h b/yjit.h index c500fb1a694..cc1e23d3275 100644 --- a/yjit.h +++ b/yjit.h @@ -16,7 +16,7 @@ https://github.com/ruby/ruby/blob/trunk/yjit.h#L16 #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 -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/