aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-10-03 13:03:18 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-10 21:50:45 +0200
commit36a5530cc9e04ed0ea381ebd1e2b1517eaa50a9f (patch)
tree08b9c85c4629a94e22cad1f887d43777a27290b3 /src/qml/compiler
parentb7ff0575be4c5a1b8a4561bb827ebe7f782f9ac8 (diff)
Add support for showing disassembled ARM JIT code
Ported the ARM disassembler from upstream trunk. QtQml needs to be configured with qmake CONFIG+=disassembler and QV4_SHOW_ASM=1 enables the dump at run-time. Change-Id: Ia13a98835829fde0d3c5a795cb8f6ef9de951807 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler')
-rw-r--r--src/qml/compiler/qv4isel_masm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4isel_masm.cpp b/src/qml/compiler/qv4isel_masm.cpp
index 2665356436..7df64b3544 100644
--- a/src/qml/compiler/qv4isel_masm.cpp
+++ b/src/qml/compiler/qv4isel_masm.cpp
@@ -611,7 +611,7 @@ JSC::MacroAssemblerCodeRef Assembler::link(int *codeSize)
# if OS(MAC_OS_X)
char *disasmOutput = memStream.buf.data();
# endif
-# if CPU(X86) || CPU(X86_64)
+# if CPU(X86) || CPU(X86_64) || CPU(ARM)
QHash<void*, String*> idents;
printDisassembledOutputWithCalls(disasmOutput, functions);
# endif