V4 JIT: optimize mem2mem copies.
authorErik Verbruggen <erik.verbruggen@me.com>
Tue, 24 Sep 2013 09:42:03 +0000 (11:42 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 28 Sep 2013 21:56:53 +0000 (23:56 +0200)
commite4c696dda3610a7c6e34bf705656d90babc9d461
tree09617040cba956f8ec3874ec64762fa08dbe856d
parent342831427beb0f3a48061453df89624ba2d7c886
V4 JIT: optimize mem2mem copies.

Instead of loading and decoding a value and then encoding and storing
it, we can just as well fold that into a load+store.

Change-Id: I84c8eb310510a91cefe2cbc0d4bb01856b41663d
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/compiler/qv4isel_masm.cpp
src/qml/compiler/qv4isel_masm_p.h