summaryrefslogtreecommitdiff
path: root/rts/sm/Storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/Storage.c')
-rw-r--r--rts/sm/Storage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index 0c4d306710..8bb3fc79d8 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -1942,19 +1942,19 @@ void rts_clearMemory(void) {
if (RtsFlags.GcFlags.useNonmoving)
{
for (struct NonmovingSegment *seg = nonmovingHeap.free; seg; seg = seg->link) {
- clear_segment(seg);
+ nonmovingClearSegment(seg);
}
for (int i = 0; i < NONMOVING_ALLOCA_CNT; ++i) {
struct NonmovingAllocator *alloc = &nonmovingHeap.allocators[i];
for (struct NonmovingSegment *seg = alloc->active; seg; seg = seg->link) {
- clear_segment_free_blocks(seg);
+ nonmovingClearSegmentFreeBlocks(seg);
}
for (unsigned int j = 0; j < getNumCapabilities(); ++j) {
Capability *cap = getCapability(j);
- clear_segment_free_blocks(cap->current_segments[i]);
+ nonmovingClearSegmentFreeBlocks(cap->current_segments[i]);
}
}
}