projects
/
webkitgtk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9537939
)
Disable JIT on x86 CPUs without SSE2
author
Alberto Garcia
<berto@igalia.com>
Wed, 14 Sep 2016 16:40:06 +0000
(16:40 +0000)
committer
Raspbian forward porter
<root@raspbian.org>
Wed, 14 Sep 2016 16:40:06 +0000
(16:40 +0000)
===================================================================
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.