V4: fix register usage on ARM.
authorErik Verbruggen <erik.verbruggen@digia.com>
Thu, 10 Apr 2014 11:59:32 +0000 (13:59 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 17 Apr 2014 05:09:40 +0000 (07:09 +0200)
commit6572d4e50d73ac60a8974d07de74c27a7f99ebef
tree9a1ac37ad643b2fd1082f1e97bdffcf67b450b57
parentfc634cb4a2daed40690f0530dc06ff850f3b73ab
V4: fix register usage on ARM.

JSC was using r3 as the address scratch register, which collides with
the 4th parameter in a function call. This sometimes shows up when
generateFunctionCall needs to do a calulated jump.

Also fix the usage of r11, which seems to be the fp on some platforms.

Change-Id: Ib2ea64b9342e5aa631db6a7641747f899b2fbd89
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/3rdparty/masm/assembler/MacroAssemblerARMv7.h
src/qml/jit/qv4assembler_p.h
src/qml/jit/qv4isel_masm.cpp