aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4isel_masm_p.h
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/qml/compiler/qv4isel_masm_p.h
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/qml/compiler/qv4isel_masm_p.h')
-rw-r--r--src/qml/compiler/qv4isel_masm_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4isel_masm_p.h b/src/qml/compiler/qv4isel_masm_p.h
index 02ddd158a9..bd4c564ab9 100644
--- a/src/qml/compiler/qv4isel_masm_p.h
+++ b/src/qml/compiler/qv4isel_masm_p.h
@@ -51,6 +51,9 @@
#include <QtCore/QHash>
#include <config.h>
#include <wtf/Vector.h>
+
+#if ENABLE(ASSEMBLER)
+
#include <assembler/MacroAssembler.h>
#include <assembler/MacroAssemblerCodeRef.h>
@@ -1606,4 +1609,6 @@ public:
QT_END_NAMESPACE
+#endif // ENABLE(ASSEMBLER)
+
#endif // QV4ISEL_MASM_P_H