projects
/
webkitgtk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
094cf40
)
Disable JIT on x86 CPUs without SSE2
author
Alberto Garcia
<berto@igalia.com>
Mon, 28 May 2018 13:17:22 +0000
(14:17 +0100)
committer
Peter Michael Green
<plugwash@raspbian.org>
Mon, 28 May 2018 13:17:22 +0000
(14:17 +0100)
===================================================================
Gbp-Pq: Name disable-jit-nonsse2.patch
Source/JavaScriptCore/runtime/VM.cpp
patch
|
blob
|
history
diff --git
a/Source/JavaScriptCore/runtime/VM.cpp
b/Source/JavaScriptCore/runtime/VM.cpp
index d7e50ed614635182f90dd8d168be5d973dc57de7..ddf02e5a6f1be286998f15405294c03b38950f86 100644
(file)
--- 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.