aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jit
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2014-03-06 12:37:06 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-07 12:20:24 +0100
commit206b0e1f2ed2c6d42bc814a3b04567ceeb438de6 (patch)
treecb7fc85de36068923448482aac320973662c21e4 /src/qml/jit
parent0d3d8aa924f07da2364c73bfb1b4c95cd3429d10 (diff)
V4: fix address printing on 64bit platforms
The addresses were truncated to 32bits, which is a problem on win64, because JITted code ended up outside that range. Change-Id: I0d8b92486714340dffe4b4c2de29cf11a929a149 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/jit')
-rw-r--r--src/qml/jit/qv4isel_masm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jit/qv4isel_masm.cpp b/src/qml/jit/qv4isel_masm.cpp
index fd2db587f1..d09ac4d1b3 100644
--- a/src/qml/jit/qv4isel_masm.cpp
+++ b/src/qml/jit/qv4isel_masm.cpp
@@ -119,6 +119,7 @@ static void printDisassembledOutputWithCalls(QByteArray processedOutput, const Q
processedOutput = processedOutput.replace(ptrString, it.value());
}
fprintf(stderr, "%s\n", processedOutput.constData());
+ fflush(stderr);
}
JSC::MacroAssemblerCodeRef Assembler::link(int *codeSize)