Changed header so that we can use GC_arrays from ECL.
authorJuan Jose Garcia Ripoll <jjgarcia@jjgr-2.local>
Mon, 1 Feb 2010 22:56:21 +0000 (23:56 +0100)
committerJuan Jose Garcia Ripoll <jjgarcia@jjgr-2.local>
Mon, 1 Feb 2010 22:56:21 +0000 (23:56 +0100)
src/gc/include/private/gc_priv.h

index 1d96d87..ef724a2 100644 (file)
@@ -876,6 +876,10 @@ struct _GC_arrays {
   word _bytes_allocd_before_gc;
                /* Number of words allocated before this        */
                /* collection cycle.                            */
+  size_t _size_map[MAXOBJBYTES+1];
+       /* Number of words to allocate for a given allocation request in */
+       /* bytes.                                                        */
+
 # ifndef SEPARATE_GLOBALS
     word _bytes_allocd;
        /* Number of words allocated during this collection cycle */
@@ -935,10 +939,6 @@ struct _GC_arrays {
     word _unmapped_bytes;
 # endif
 
-    size_t _size_map[MAXOBJBYTES+1];
-       /* Number of words to allocate for a given allocation request in */
-       /* bytes.                                                        */
-
 # ifdef STUBBORN_ALLOC
     ptr_t _sobjfreelist[MAXOBJGRANULES+1];
 # endif