aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2018-10-09 15:00:46 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2018-10-12 11:19:43 +0000
commitf0307f49deb5679dcd03353970b197c3258651a8 (patch)
treea8b5aee322e1014a25957919f76246b0381f0276
parenta003a7916a7608a81075f058e35c5ca113d9ec08 (diff)
Make the function name printing the same when dumping bytecode
So searching for "function blah" will find both the dumped bytecode and the generated assembler from the baseline JIT. Change-Id: Ia1e2debfb73068a1692653f304146f7b0f88aa16 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r--src/qml/jit/qv4assemblercommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jit/qv4assemblercommon.cpp b/src/qml/jit/qv4assemblercommon.cpp
index fadb9dce08..b302ac6403 100644
--- a/src/qml/jit/qv4assemblercommon.cpp
+++ b/src/qml/jit/qv4assemblercommon.cpp
@@ -148,7 +148,7 @@ void PlatformAssemblerCommon::link(Function *function, const char *jitKind)
WTF::setDataFile(new QIODevicePrintStream(&buf));
QByteArray name = functionName(function);
- codeRef = linkBuffer.finalizeCodeWithDisassembly(jitKind, "%s", name.constData());
+ codeRef = linkBuffer.finalizeCodeWithDisassembly(jitKind, "function %s", name.constData());
WTF::setDataFile(stderr);
printDisassembledOutputWithCalls(buf.data(), functions);