Only include line numbers when necessary
authorAaron Kennedy <aaron.kennedy@nokia.com>
Thu, 5 May 2011 01:07:59 +0000 (11:07 +1000)
committerAaron Kennedy <aaron.kennedy@nokia.com>
Thu, 5 May 2011 01:19:39 +0000 (11:19 +1000)
commitcff3c25ee616a7aee7bf1c0f983a190415668f5f
tree572c9e239caed1236f7c6f6d1eae2a8caa8984a6
parent09e769903362cc933aca478a5779e30d0cec4544
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
src/declarative/qml/qdeclarativecompileddata.cpp
src/declarative/qml/qdeclarativecompiler.cpp
src/declarative/qml/qdeclarativeinstruction.cpp
src/declarative/qml/qdeclarativeinstruction_p.h
src/declarative/qml/qdeclarativevme.cpp
tests/auto/declarative/qdeclarativeinstruction/tst_qdeclarativeinstruction.cpp