* mini-x86.c: enable on OSX, too, the code to return small
structures in registers.
svn path=/trunk/mono/; revision=69401
+Tue Dec 12 16:28:15 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+ * mini-x86.c: enable on OSX, too, the code to return small
+ structures in registers.
+
Mon Dec 11 19:22:35 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini-x86.c: remove the use of the dynamic code manager here, too.
static X86_Reg_No param_regs [] = { 0 };
-#ifdef PLATFORM_WIN32
+#if defined(PLATFORM_WIN32) || defined(__APPLE__)
static X86_Reg_No return_regs [] = { X86_EAX, X86_EDX };
#endif
else
size = mono_type_stack_size (&klass->byval_arg, NULL);
-#ifdef PLATFORM_WIN32
+#if defined(PLATFORM_WIN32) || defined (__APPLE__)
if (sig->pinvoke && is_return) {
MonoMarshalType *info;