From: Alberto Garcia Date: Mon, 28 May 2018 13:17:22 +0000 (+0100) Subject: Disable JIT on x86 CPUs without SSE2 X-Git-Tag: archive/raspbian/2.4.11-4+rpi1~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f769aee66c8ac762190f21936c05711771586a23;p=webkitgtk.git Disable JIT on x86 CPUs without SSE2 =================================================================== Gbp-Pq: Name disable-jit-nonsse2.patch --- diff --git a/Source/JavaScriptCore/runtime/VM.cpp b/Source/JavaScriptCore/runtime/VM.cpp index d7e50ed..ddf02e5 100644 --- a/Source/JavaScriptCore/runtime/VM.cpp +++ b/Source/JavaScriptCore/runtime/VM.cpp @@ -134,6 +134,11 @@ static bool enableAssembler(ExecutableAllocator& executableAllocator) return false; } +#if CPU(X86) + if (!MacroAssembler::supportsFloatingPoint()) + return false; +#endif + #if USE(CF) #if COMPILER(GCC) && !COMPILER(CLANG) // FIXME: remove this once the EWS have been upgraded to LLVM.