[Mono-bugs] [Bug 667928] icalls with Rects as return types call native functions incorrectly.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 28 09:48:16 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=667928

https://bugzilla.novell.com/show_bug.cgi?id=667928#c7


--- Comment #7 from Zoltan Varga <vargaz at gmail.com> 2011-01-28 14:48:15 UTC ---
So what probably happens is that the C compiler returns the struct in two
double xmm registers, while mono passes a hidden argument which points to the
return area, and the additional arguments are shifted up, so 'instance' points
to the return area instead of the first argument.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list