Index: test/cctest/heap/heap-utils.cc |
diff --git a/test/cctest/heap/heap-utils.cc b/test/cctest/heap/heap-utils.cc |
index 8abc5c3b5c63d2e863080effda3d2c0a69a2396a..e6daa454417ab5b78d87873e4420ea61b372522a 100644 |
--- a/test/cctest/heap/heap-utils.cc |
+++ b/test/cctest/heap/heap-utils.cc |
@@ -141,21 +141,6 @@ |
space->ClearStats(); |
} |
-void AbandonCurrentlyFreeMemory(PagedSpace* space) { |
- space->EmptyAllocationInfo(); |
- PageIterator pit(space); |
- while (pit.has_next()) { |
- pit.next()->MarkNeverAllocateForTesting(); |
- } |
-} |
- |
-void GcAndSweep(Heap* heap, AllocationSpace space) { |
- heap->CollectGarbage(space); |
- if (heap->mark_compact_collector()->sweeping_in_progress()) { |
- heap->mark_compact_collector()->EnsureSweepingCompleted(); |
- } |
-} |
- |
} // namespace heap |
} // namespace internal |
} // namespace v8 |