aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm/wtf
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-10-16 17:18:29 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-17 11:36:32 +0200
commit3cbc607b74a1fc410689472d8821771377fcc786 (patch)
tree1a6343905f21b2ef4164fb1be6c91a85ec14a854 /src/3rdparty/masm/wtf
parenta443af35591224667fd681462b3446fad834a6ef (diff)
Fix build on ARM in ARM mode (instead of thumb2)
We don't support the traditional ARM assembler (yet), only JIT on thumb2. In order for us to reliably check that, we have to wait until the pre-processor runs, which this patch achieves by moving all JIT enable/disable decisions into qv4global_p.h Change-Id: I7eff5b4fbf1cd26297a08dee16984ad867358113 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty/masm/wtf')
-rw-r--r--src/3rdparty/masm/wtf/Platform.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/3rdparty/masm/wtf/Platform.h b/src/3rdparty/masm/wtf/Platform.h
index b8402a991f..c81a9fe40f 100644
--- a/src/3rdparty/masm/wtf/Platform.h
+++ b/src/3rdparty/masm/wtf/Platform.h
@@ -28,6 +28,10 @@
#ifndef WTF_Platform_h
#define WTF_Platform_h
+#if defined(__cplusplus)
+#include <private/qv4global_p.h>
+#endif
+
/* Include compiler specific macros */
#include <wtf/Compiler.h>
@@ -767,7 +771,8 @@
#endif
/* If the jit is not available, enable the LLInt C Loop: */
-#if !ENABLE(JIT)
+/* Not for Qml. We have our own interpreter. */
+#if 0 /* !ENABLE(JIT) */
#undef ENABLE_LLINT /* Undef so that we can redefine it. */
#undef ENABLE_LLINT_C_LOOP /* Undef so that we can redefine it. */
#undef ENABLE_DFG_JIT /* Undef so that we can redefine it. */
@@ -778,7 +783,7 @@
/* Do a sanity check to make sure that we at least have one execution engine in
use: */
-#if !(ENABLE(JIT) || ENABLE(LLINT))
+#if 0 /* !(ENABLE(JIT) || ENABLE(LLINT)) */
#error You have to have at least one execution model enabled to build JSC
#endif