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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=386415#c14





--- Comment #14 from Robert Jordan <[EMAIL PROTECTED]>  2008-05-04 15:29:39 MST 
---
BTW, mono_runtime_invoke () has the same alignment issue but users are able to
fix their structs because unlike thunk-invoke, runtime-invoke wrappers do not
have pinvoke signatures.


Introducing a new wrapper type and using it in mini-<platform>.c is too ugly at
a second glance.

But how about a new MonoMethodSignature.native_call bit?
I think we could borrow it from the unused ref_count field.

Whenever pinvoke & native_call are set, the JIT code generation must take care
to generate ABI compatible frames with mono compatible alignments.

In mini-x86.c, there were only 3 places to change if we had this bit, see
patch.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to