Author: zoltan
Date: 2007-12-06 11:42:07 -0500 (Thu, 06 Dec 2007)
New Revision: 90820

Modified:
   trunk/mono/mono/mini/ChangeLog
   trunk/mono/mono/mini/aot-compiler.c
Log:
2007-12-06  Zoltan Varga  <[EMAIL PROTECTED]>

        * aot-compiler.c (emit_method_code): Put back an #ifdef which is needed.


Modified: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog      2007-12-06 16:37:13 UTC (rev 90819)
+++ trunk/mono/mono/mini/ChangeLog      2007-12-06 16:42:07 UTC (rev 90820)
@@ -1,5 +1,7 @@
 2007-12-06  Zoltan Varga  <[EMAIL PROTECTED]>
 
+       * aot-compiler.c (emit_method_code): Put back an #ifdef which is needed.
+
        * mini-<ARCH>.h mini.c aot-compiler.c aot-runtime.c: Get rid of the
        HAVE_PIC_AOT define and use AOT_SUPPORTED instead.
 

Modified: trunk/mono/mono/mini/aot-compiler.c
===================================================================
--- trunk/mono/mono/mini/aot-compiler.c 2007-12-06 16:37:13 UTC (rev 90819)
+++ trunk/mono/mono/mini/aot-compiler.c 2007-12-06 16:42:07 UTC (rev 90820)
@@ -1887,6 +1887,7 @@
                                break;
                }
 
+#ifdef MONO_ARCH_AOT_SUPPORTED
                skip = FALSE;
                if (patch_info && (patch_info->ip.i == i) && (pindex < 
patches->len)) {
                        start_index = pindex;
@@ -1967,6 +1968,7 @@
                        }
                        }
                }
+#endif /* MONO_ARCH_AOT_SUPPORTED */
 
                if (!skip)
                        emit_bytes (acfg, code + i, 1);

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

Reply via email to