New test.
[mono.git] / mono / mini / tramp-s390x.c
index f6691ca31ccc496bf4b960d62e9c30f4ff4e76c2..cf442e374307b80150bd32b83ef069b3f7e18afa 100644 (file)
@@ -633,14 +633,12 @@ mono_arch_create_class_init_trampoline (MonoVTable *vtable)
 /*------------------------------------------------------------------*/
 
 gpointer
-mono_debugger_create_notification_function (gpointer *notification_address)
+mono_debugger_create_notification_function (MonoCodeManager *codeman)
 {
        guint8 *ptr, *buf;
 
-       ptr = buf = mono_global_codeman_reserve (16);
+       ptr = buf = mono_code_manager_reserve (codeman, 16);
        s390_break (buf);
-       if (notification_address)
-               *notification_address = buf;
        s390_br (buf, s390_r14);
 
        return ptr;