changes
[IRC.git] / Robust / src / Runtime / bamboo / pmc_forward.c
index bb5bd7e2d31b521f38d100b014eba98444c439aa..e073b3651214e81f2af84d178d6b356a378ccbe1 100644 (file)
@@ -24,7 +24,7 @@ void pmc_countbytes(struct pmc_unit * unit, void *bottomptr, void *topptr) {
       continue;
     }
     size=((size-1)&(~(ALIGNMENTSIZE-1)))+ALIGNMENTSIZE;
-    if (((struct ___Object___ *)tmpptr)->mark)
+    if (((struct ___Object___ *)tmpptr)->marked)
       totalbytes+=size;
     tmpptr+=size;
   }
@@ -128,8 +128,8 @@ void pmc_forward(struct pmc_region *region, unsigned int totalbytes, void *botto
     }
     size=((size-1)&(~(ALIGNMENTSIZE-1)))+ALIGNMENTSIZE;
 
-    if (((struct ___Object___ *)tmpptr)->mark) {
-      ((struct ___Object___ *)tmpptr)->mark=forwardptr;
+    if (((struct ___Object___ *)tmpptr)->marked) {
+      ((struct ___Object___ *)tmpptr)->marked=forwardptr;
       void *newforwardptr=forwardptr+size;
       while(newforwardptr>endunit) {
        pmc_heapptr->region[currunit].endptr=newforwardptr;