Fix try/catch on ARM
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 25 Jun 2013 14:18:30 +0000 (16:18 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 26 Jun 2013 17:52:13 +0000 (19:52 +0200)
commitab6124728fc33e4be7ce0d4eec278a446bd98e75
tree6ab0202c167fcf12943234837c4b2c0b4b884371
parent6acdbab5cfceccd711f210eba6c1348384255bee
Fix try/catch on ARM

When returning _to_ tryWrapper we pass the address on where to continue
execution in r0. So in our leaveStackFrame() we shouldn't clobber r0
and in fact there's little value in restoring r0-r3 given that they're
used to pass arguments and don't require save/restore.

Change-Id: Iba0091e19eb74347472e698ffc7687e647a5e5be
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v4/qv4isel_masm_p.h