[mini] Add atomic load/store instruction definitions for ARM64.
[mono.git] / mono / mini / tramp-ia64.c
index 6a2dc90a303c4cc01d42ed191ab423878f0344dd..8024cc0ca085cc8f31167ce48a92f9d5b189a6e3 100644 (file)
@@ -24,7 +24,6 @@
 
 /*
  * mono_arch_get_unbox_trampoline:
- * @gsctx: the generic sharing context
  * @m: method pointer
  * @addr: pointer to native code for @m
  *
@@ -33,7 +32,7 @@
  * unboxing before calling the method
  */
 gpointer
-mono_arch_get_unbox_trampoline (MonoGenericSharingContext *gsctx, MonoMethod *m, gpointer addr)
+mono_arch_get_unbox_trampoline (MonoMethod *m, gpointer addr)
 {
        guint8 *buf;
        gpointer func_addr, func_gp;
@@ -44,9 +43,6 @@ mono_arch_get_unbox_trampoline (MonoGenericSharingContext *gsctx, MonoMethod *m,
 
        /* FIXME: Optimize this */
 
-       if (MONO_TYPE_ISSTRUCT (mono_method_signature (m)->ret))
-               this_reg = 1;
-
        func_addr = ((gpointer*)addr) [0];
        func_gp = ((gpointer*)addr) [1];
 
@@ -173,12 +169,6 @@ mono_arch_nullify_class_init_trampoline (guint8 *code, mgreg_t *regs)
        mono_arch_flush_icache (callsite_begin, code - callsite_begin);
 }
 
-void
-mono_arch_nullify_plt_entry (guint8 *code, mgreg_t *regs)
-{
-       g_assert_not_reached ();
-}
-
 guchar*
 mono_arch_create_generic_trampoline (MonoTrampolineType tramp_type, MonoTrampInfo **info, gboolean aot)
 {