diff options
| author | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-12-16 13:44:14 +0100 |
|---|---|---|
| committer | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2014-12-19 12:37:15 +0100 |
| commit | a0c81e29713f991afa0a2442a7ca3b095ad97c2a (patch) | |
| tree | ac9c30e0088bce64d48f8be1fefa8cb8b82d793c /src/qml/compiler/qv4isel_moth.cpp | |
| parent | 38cab579a0c5398b7621221fd8609bc43cf1f3c5 (diff) | |
Replace usage of stdout for debug output by qDebug
This way even paranoid Androids can be show interesting stuff.
Task-number: QTBUG-43109
Change-Id: Ib0ef9e8f6c6fc66e9ea9bfcaf2cd9e33d7469070
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4isel_moth.cpp')
| -rw-r--r-- | src/qml/compiler/qv4isel_moth.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/qml/compiler/qv4isel_moth.cpp b/src/qml/compiler/qv4isel_moth.cpp index 39977375c4..8f411bfbc6 100644 --- a/src/qml/compiler/qv4isel_moth.cpp +++ b/src/qml/compiler/qv4isel_moth.cpp @@ -188,15 +188,9 @@ public: void forFunction(IR::Function *function) { - IR::Optimizer::showMeTheCode(function); + IR::Optimizer::showMeTheCode(function, "Before stack slot allocation"); _function = function; toStackSlots(function); - -// QTextStream os(stdout, QIODevice::WriteOnly); -// os << "Frame layout:" << endl; -// foreach (int t, _stackSlotForTemp.keys()) { -// os << "\t" << t << " -> " << _stackSlotForTemp[t] << endl; -// } } protected: @@ -364,7 +358,7 @@ void InstructionSelection::run(int functionIndex) opt.convertOutOfSSA(); ConvertTemps().toStackSlots(_function); } - opt.showMeTheCode(_function); + opt.showMeTheCode(_function, "After stack slot allocation"); } else { ConvertTemps().toStackSlots(_function); } |
