aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvme.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@me.com>2013-09-27 18:44:09 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-30 15:05:01 +0200
commit2b6dfcf23b8e9d672dff0a083ed4e7adc28115eb (patch)
tree340a4df1e473cfe20158ea0cd0b77911c1f86946 /src/qml/qml/qqmlvme.cpp
parent7c3f891c454971ed0150e66c2261e6e5c36664a3 (diff)
V4 IR: do type inference/propagation before optimization.
This gives slightly better results for inplace increment/decrement, where the operand has to be converted to a number. When that operand is known to be a number, this conversion can be removed. By doing the optimizations after typing, these conversions will not only turn into assignments, but they will be propagated through the IR. That saves a copy/move, which, in turn, will lighten the work for the register allocator and the instruction selection. Change-Id: If76575a71fbcb2d810b94060e61b4364bdaaa065 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlvme.cpp')
0 files changed, 0 insertions, 0 deletions