V4 JIT: fix stack use below stack pointer
authorErik Verbruggen <erik.verbruggen@digia.com>
Tue, 5 Aug 2014 08:51:57 +0000 (10:51 +0200)
committerErik Verbruggen <erik.verbruggen@digia.com>
Thu, 14 Aug 2014 07:08:58 +0000 (09:08 +0200)
commitbd6f3aa14685060f468e7e372f1044394f806a04
tree435e43b3f6f411df7e92621a00161ebf86a34803
parente05ba6967edfe288044d6c397fbb541c67eddead
V4 JIT: fix stack use below stack pointer

When storing a double value returned from a function call on platforms
where the value wouldn't fit in a register, we used to store it on the
stack and then load it into a FP register. This stack use was done
without first lowering the stack pointer.

For x86 and ARM, the value is loaded directly into the FP register, and
for other non-64-bit platforms it correctly allocates the stack slot.

Change-Id: Idbc260038958a036ac2a7383d845199626decc8e
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jit/qv4assembler_p.h