Author: zoltan
Date: 2005-02-27 13:04:46 -0500 (Sun, 27 Feb 2005)
New Revision: 41263

Modified:
   trunk/mono/mono/mini/tramp-amd64.c
Log:
2005-02-27  Zoltan Varga  <[EMAIL PROTECTED]>

        * tramp-amd64.c: Fix build.

        * mini-x86.c tramp-x86.c: Moved get_vtable_slot_addr into mini-x86.c 
and rename
        it to mono_arch_.... Add get_delegate_method_ptr implementation for x86.


Modified: trunk/mono/mono/mini/tramp-amd64.c
===================================================================
--- trunk/mono/mono/mini/tramp-amd64.c  2005-02-27 18:04:10 UTC (rev 41262)
+++ trunk/mono/mono/mini/tramp-amd64.c  2005-02-27 18:04:46 UTC (rev 41263)
@@ -88,7 +88,7 @@
        if (!code)
                return addr;
 
-       vtable_slot = mono_arch_get_vcall_slot_addr (code, regs);
+       vtable_slot = mono_arch_get_vcall_slot_addr (code, (gpointer*)regs);
 
        if (vtable_slot) {
                if (m->klass->valuetype)
@@ -177,7 +177,7 @@
        addr = mono_compile_method (method);
        g_assert (addr);
 
-       vtable_slot = mono_amd64_get_vcall_slot_addr (code, regs);
+       vtable_slot = mono_arch_get_vcall_slot_addr (code, (gpointer*)regs);
        g_assert (vtable_slot);
 
        if (method->klass->valuetype)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to