Avoid some unneccesary instructions in swapValues
authorLars Knoll <lars.knoll@digia.com>
Sun, 9 Feb 2014 19:09:10 +0000 (20:09 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 22 Feb 2014 15:47:46 +0000 (16:47 +0100)
commit48b44dc163953d78338dc884316344c377afd41f
tree11bfed7080e8bc8a5432b726b4f06c290beaba17
parent346382c36c2ac114ce3fab41545f5a8386838264
Avoid some unneccesary instructions in swapValues

If source and target values are of the same type, there's no need
to write the type to the stack once again.

Change-Id: I3e1600407012f7bd7f2e5ba91b279b0421be9e68
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/compiler/qv4isel_masm.cpp