Author: zoltan
Date: 2007-12-25 17:56:55 -0500 (Tue, 25 Dec 2007)
New Revision: 91884

Modified:
   trunk/mono/mono/metadata/ChangeLog
   trunk/mono/mono/metadata/reflection.c
Log:
2007-12-26  Zoltan Varga  <[EMAIL PROTECTED]>

        * reflection.c (ALLOC_REFENTRY): Use mono_gc_alloc_fixed for boehm as 
well.


Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog  2007-12-25 22:46:49 UTC (rev 91883)
+++ trunk/mono/mono/metadata/ChangeLog  2007-12-25 22:56:55 UTC (rev 91884)
@@ -1,5 +1,7 @@
 2007-12-26  Zoltan Varga  <[EMAIL PROTECTED]>
 
+       * reflection.c (ALLOC_REFENTRY): Use mono_gc_alloc_fixed for boehm as 
well.
+
        * boehm-gc.c (mono_gc_register_root): Moved definition here from 
gc_wrapper.h.
        (mono_gc_base_init): Call GC_init ().
 

Modified: trunk/mono/mono/metadata/reflection.c
===================================================================
--- trunk/mono/mono/metadata/reflection.c       2007-12-25 22:46:49 UTC (rev 
91883)
+++ trunk/mono/mono/metadata/reflection.c       2007-12-25 22:56:55 UTC (rev 
91884)
@@ -5190,9 +5190,7 @@
         mono_domain_unlock (domain); \
        } while (0)
 
-#if HAVE_BOEHM_GC
-#define ALLOC_REFENTRY GC_MALLOC (sizeof (ReflectedEntry))
-#elif HAVE_SGEN_GC
+#ifndef HAVE_NULL_GC
 #define ALLOC_REFENTRY mono_gc_alloc_fixed (sizeof (ReflectedEntry), NULL)
 #else
 #define ALLOC_REFENTRY mono_mempool_alloc (domain->mp, sizeof (ReflectedEntry))

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

Reply via email to