Fix order of entries in GCEncodedMap.
authorZoltan Varga <vargaz@gmail.com>
Mon, 20 Sep 2010 22:13:48 +0000 (00:13 +0200)
committerZoltan Varga <vargaz@gmail.com>
Mon, 3 Jan 2011 14:42:27 +0000 (15:42 +0100)
mono/mini/mini-gc.c

index 510a09357649b830fb116748a1d93cc9279e923e..c00eca7196a12dd4d4e396b50b33583604b348c2 100644 (file)
@@ -199,12 +199,12 @@ typedef struct {
         * Their address needs to be computed.
         */
 
-       /* An array of ncallsites entries, each entry is callsite_entry_size bytes long */
-       guint8 callsites [MONO_ZERO_LEN_ARRAY];
-
        /* The fixed fields of the GCMap encoded using LEB128 */
        guint8 encoded [MONO_ZERO_LEN_ARRAY];
 
+       /* An array of ncallsites entries, each entry is callsite_entry_size bytes long */
+       guint8 callsites [MONO_ZERO_LEN_ARRAY];
+
        /* The GC bitmaps */
        guint8 bitmaps [MONO_ZERO_LEN_ARRAY];
 } GCEncodedMap;