Changeset 527 for trunk/thune/gc.c
- Timestamp:
- 05/26/08 17:22:18 (6 months ago)
- Files:
-
- 1 modified
-
trunk/thune/gc.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/gc.c
r510 r527 231 231 232 232 233 static void _checkCells( UThread* ut, UCollector* gc, UCell* it, UCell* end );234 235 233 static void _checkBlock( UThread* ut, UCollector* gc, UBlock* blk ) 236 234 { … … 242 240 243 241 if( it ) 244 _checkCells( ut, gc, it, it + blk->used );245 } 246 247 248 static void _checkCells( UThread* ut, UCollector* gc, UCell* it,UCell* end )242 ur_gcMarkCells( ut, gc, it, it + blk->used ); 243 } 244 245 246 void ur_gcMarkCells( UThread* ut, UCollector* gc, UCell* it, const UCell* end ) 249 247 { 250 248 int idx; … … 410 408 UCell* cell = ((UCell*) it) - 1; 411 409 SET_BIT_BLOCK_L( it->cp.n ) 412 _checkCells( ut, gc, cell, cell + 1 );410 ur_gcMarkCells( ut, gc, cell, cell + 1 ); 413 411 it -= CC_LEN_ITER; 414 412 } … … 439 437 assert( UR_TOC >= UR_BOC ); 440 438 441 _checkCells( ut, gc, UR_BOC, UR_TOC );439 ur_gcMarkCells( ut, gc, UR_BOC, UR_TOC ); 442 440 } 443 441 #endif … … 451 449 assert( UR_TOS >= UR_BOS ); 452 450 453 _checkCells( ut, gc, UR_BOS + 1, UR_TOS + 1 );451 ur_gcMarkCells( ut, gc, UR_BOS + 1, UR_TOS + 1 ); 454 452 } 455 453
