diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-05-05 11:07:59 +1000 |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-05-05 11:19:39 +1000 |
commit | cff3c25ee616a7aee7bf1c0f983a190415668f5f (patch) | |
tree | 572c9e239caed1236f7c6f6d1eae2a8caa8984a6 /src/declarative/qml/qdeclarativecompileddata.cpp | |
parent | 09e769903362cc933aca478a5779e30d0cec4544 (diff) |
Only include line numbers when necessary
The mandatory line number bloats QML instructions for no reason.
Moving it inline actually increases the instruction size further,
but that will come down again once variable sized instruction
support is added.
Change-Id: I0ace03a50371ef57946edbb7c8e0e8c2fa4fdd76
Diffstat (limited to 'src/declarative/qml/qdeclarativecompileddata.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativecompileddata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecompileddata.cpp b/src/declarative/qml/qdeclarativecompileddata.cpp index 3d1e9255ad..ce57ccb33b 100644 --- a/src/declarative/qml/qdeclarativecompileddata.cpp +++ b/src/declarative/qml/qdeclarativecompileddata.cpp @@ -246,7 +246,7 @@ void QDeclarativeCompiledData::dumpInstructions() { if (!name.isEmpty()) qWarning() << name; - qWarning().nospace() << "Index\tLine\tOperation\t\tData1\tData2\tData3\tComments"; + qWarning().nospace() << "Index\tOperation\t\tData1\tData2\tData3\tComments"; qWarning().nospace() << "-------------------------------------------------------------------------------"; for (int ii = 0; ii < bytecode.count(); ++ii) { dump(&bytecode[ii], ii); |