2008-06-17 Mark Probst <mark.probst@gmail.com>
[mono.git] / mono / mini / tramp-mips.c
index 0dee8bb7ceb7e4468cd05fb72ec68db9eeae6308..f21c3f66fbdf5712c394e1bc009cd0f99e957255 100644 (file)
@@ -26,6 +26,7 @@
 
 /*
  * get_unbox_trampoline:
+ * @gsctx: the generic sharing context
  * @m: method pointer
  * @addr: pointer to native code for @m
  *
  * unboxing before calling the method
  */
 gpointer
-mono_arch_get_unbox_trampoline (MonoMethod *m, gpointer addr)
+mono_arch_get_unbox_trampoline (MonoGenericSharingContext *gsctx, MonoMethod *m, gpointer addr)
 {
        guint8 *code, *start;
        int this_pos = mips_a0;
        MonoDomain *domain = mono_domain_get ();
 
-       if (!mono_method_signature (m)->ret->byref && MONO_TYPE_ISSTRUCT (mono_method_signature (m)->ret))
+       if (MONO_TYPE_ISSTRUCT (mono_method_signature (m)->ret))
                this_pos = mips_a1;
            
        mono_domain_lock (domain);