[Mono-bugs] [Bug 462016] make check for pinvoke2.exe fails for PowerPC
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Dec 30 14:49:27 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=462016
User munroesj at us.ibm.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=462016#c8
--- Comment #8 from Steven Munroe <munroesj at us.ibm.com> 2008-12-30 12:49:25 MST ---
Tried this patch suggested by Mark Probst:
Index: mini/mini.c
===================================================================
--- mini/mini.c (revision 122130)
+++ mini/mini.c (working copy)
-1627,7 +1627,7 @@
/* inst->backend.is_pinvoke indicates native sized value types,
this is used by the
* pinvoke wrappers when they call functions returning
structures */
if (inst->backend.is_pinvoke && MONO_TYPE_ISSTRUCT
(inst->inst_vtype) && inst->inst_vtype->type != MONO_TYPE_TYPEDBYREF)
- size = mono_class_native_size
(inst->inst_vtype->data.klass, &align);
+ size = mono_class_native_size
(mono_class_from_mono_type (inst->inst_vtype), &align);
else {
int ialign;
--
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