Merge pull request #2810 from kumpera/fix_hazard_free
[mono.git] / mono / mini / tramp-mips.c
index 55cc11870eb131c6514691d997d43aeea93e5125..37f17a47c89b3d7c20e638236364ae6fa25b4533 100644 (file)
@@ -53,7 +53,7 @@ mono_arch_get_unbox_trampoline (MonoMethod *m, gpointer addr)
        /*g_print ("unbox trampoline at %d for %s:%s\n", this_pos, m->klass->name, m->name);
        g_print ("unbox code is at %p for method at %p\n", start, addr);*/
 
-       mono_tramp_info_register (mono_tramp_info_create (NULL, start, code - start, NULL, NULL));
+       mono_tramp_info_register (mono_tramp_info_create (NULL, start, code - start, NULL, NULL), domain);
 
        return start;
 }
@@ -326,7 +326,7 @@ mono_arch_get_static_rgctx_trampoline (MonoMethod *m, MonoMethodRuntimeGenericCo
 
        mono_arch_flush_icache (start, code - start);
 
-       mono_tramp_info_register (mono_tramp_info_create (NULL, start, code - start, NULL, NULL));
+       mono_tramp_info_register (mono_tramp_info_create (NULL, start, code - start, NULL, NULL), domain);
 
        return start;
 }