diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-08-21 16:24:10 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-08-30 13:44:14 +0000 |
commit | 920f50731a8fe7507aece1318c9e91f3f12b525e (patch) | |
tree | d0cbb8fd23d94977ddaebb56b757b5ef72c282ec /src/qml/jit/qv4assemblercommon.cpp | |
parent | 8725f9873deda85eb426b989aa911f07fd80bf09 (diff) |
V4: Add JIT kind to disassembly
Change-Id: I6dd1cd6f795a93a186e84f5ab1c606f7e23fb85d
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jit/qv4assemblercommon.cpp')
-rw-r--r-- | src/qml/jit/qv4assemblercommon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jit/qv4assemblercommon.cpp b/src/qml/jit/qv4assemblercommon.cpp index 79a8237878..0ae4da17fa 100644 --- a/src/qml/jit/qv4assemblercommon.cpp +++ b/src/qml/jit/qv4assemblercommon.cpp @@ -126,7 +126,7 @@ static QByteArray functionName(Function *function) JIT::PlatformAssemblerCommon::~PlatformAssemblerCommon() {} -void PlatformAssemblerCommon::link(Function *function) +void PlatformAssemblerCommon::link(Function *function, const char *jitKind) { for (const auto &jumpTarget : jumpsToLink) jumpTarget.jump.linkTo(labelForOffset[jumpTarget.offset], this); @@ -148,7 +148,7 @@ void PlatformAssemblerCommon::link(Function *function) WTF::setDataFile(new QIODevicePrintStream(&buf)); QByteArray name = functionName(function); - codeRef = linkBuffer.finalizeCodeWithDisassembly("%s", name.constData()); + codeRef = linkBuffer.finalizeCodeWithDisassembly(jitKind, "%s", name.constData()); WTF::setDataFile(stderr); printDisassembledOutputWithCalls(buf.data(), functions); |