[svn:parrot] r40730 - trunk/src/gc

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Sun Aug 23 11:01:26 UTC 2009


Author: whiteknight
Date: Sun Aug 23 11:01:24 2009
New Revision: 40730
URL: https://trac.parrot.org/parrot/changeset/40730

Log:
[gc] fix a problem with mixed declarations and code for TT #942. MoC++

Modified:
   trunk/src/gc/mark_sweep.c

Modified: trunk/src/gc/mark_sweep.c
==============================================================================
--- trunk/src/gc/mark_sweep.c	Sun Aug 23 06:18:07 2009	(r40729)
+++ trunk/src/gc/mark_sweep.c	Sun Aug 23 11:01:24 2009	(r40730)
@@ -298,8 +298,8 @@
     /* Run through all the PObj header pools and mark */
     for (cur_arena = pool->last_Arena; cur_arena; cur_arena = cur_arena->prev) {
         const size_t objects_end = cur_arena->used;
-        b = (PObj *)cur_arena->start_objects;
         UINTVAL i;
+        b = (PObj *)cur_arena->start_objects;
 
         /* loop only while there are objects in the arena */
         for (i = objects_end; i; i--) {


More information about the parrot-commits mailing list