From: Alberto Garcia Date: Wed, 14 Sep 2016 16:40:06 +0000 (+0000) Subject: Disable JIT on x86 CPUs without SSE2 X-Git-Tag: archive/raspbian/2.4.11-4+rpi1~2^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=84eae51d05dde8afd70df9e977c0c1edeb0c4c56;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.