/*
* mono_arch_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 = hppa_r26;
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 = hppa_r25;
mono_domain_lock (domain);
return code;
}
-/*
- * This method is only called when running in the Mono Debugger.
- */
-gpointer
-mono_debugger_create_notification_function (void)
-{
- guint8 *ptr, *buf;
-
- ptr = buf = mono_global_codeman_reserve (16);
-
- g_assert_not_reached ();
-
- return ptr;
-}
-
/**
* mono_arch_create_class_init_trampoline:
* @vtable: the type to initialize
MonoDomain* domain = mono_domain_get ();
gpointer code_start;
- tramp = mono_get_trampoline_code (MONO_TRAMPOLINE_GENERIC);
+ tramp = mono_get_trampoline_code (MONO_TRAMPOLINE_JIT);
ji = create_specific_tramp (method, tramp, domain);
code_start = ji->code_start;
g_free (ji);
g_assert_not_reached ();
return NULL;
}
-
-guint32
-mono_arch_get_rgctx_lazy_fetch_offset (gpointer *regs)
-{
- /* FIXME: implement! */
- g_assert_not_reached ();
- return 0;
-}