aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm/stubs/WTFStubs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/masm/stubs/WTFStubs.cpp')
-rw-r--r--src/3rdparty/masm/stubs/WTFStubs.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/3rdparty/masm/stubs/WTFStubs.cpp b/src/3rdparty/masm/stubs/WTFStubs.cpp
index f408b355f5..facba7d937 100644
--- a/src/3rdparty/masm/stubs/WTFStubs.cpp
+++ b/src/3rdparty/masm/stubs/WTFStubs.cpp
@@ -44,6 +44,10 @@
#include <qbytearray.h> // qvsnprintf
#include <FilePrintStream.h>
+#if ENABLE(ASSEMBLER) && CPU(X86) && !OS(MAC_OS_X)
+#include <MacroAssemblerX86Common.h>
+#endif
+
namespace WTF {
void* fastMalloc(size_t size)
@@ -142,8 +146,6 @@ void WTFInvokeCrashHook()
#if ENABLE(ASSEMBLER) && CPU(X86) && !OS(MAC_OS_X)
-#include <MacroAssemblerX86Common.h>
-
JSC::MacroAssemblerX86Common::SSE2CheckState JSC::MacroAssemblerX86Common::s_sse2CheckState = JSC::MacroAssemblerX86Common::NotCheckedSSE2;
#endif