- void *unitbase=(i==0)?gcbaseva:pmc_heapptr->unit[i-1]->endptr;
- void *unittop=pmc_heapptr->unit[i]->endptr;
- pmc_countbytes(&pmc_heapptr->unit[i], unitbase, unittop);
+ void *unitbase=(i==0)?gcbaseva:pmc_heapptr->units[i-1]->endptr;
+ void *unittop=pmc_heapptr->units[i]->endptr;
+ pmc_countbytes(&pmc_heapptr->units[i], unitbase, unittop);