MIPS: Fix unboxing trampolines for functions returning value types
authorDamien Diederen <dd@crosstwine.com>
Thu, 3 Feb 2011 20:50:38 +0000 (21:50 +0100)
committerDamien Diederen <dd@crosstwine.com>
Thu, 10 Feb 2011 23:07:37 +0000 (00:07 +0100)
commit8110b6b1795578763341a570065948920ccbdeae
treef2cdb92f4b57a78c1d050bf8d82c8ecf70867f00
parent49b35c4b9b3ec169bae7b03762a1220df6c0b6a4
MIPS: Fix unboxing trampolines for functions returning value types

Generated methods always place 'this' in a0, but unboxing trampolines
currently bump a1 for functions returning value types (the register
assignments for 'this' and return area pointers probably got swapped
at some point, but the trampoline generator was not updated).

Fix that by always bumping a0.

Commit contributed under the MIT/X11 license.
mono/mini/tramp-mips.c