Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index 7ba2583da584023d9fe2c9e06ebf9999c80482ac..91979f1902ad6175e84ef4e9f3d306f34b16d908 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -34,16 +34,6 @@ |
using namespace v8::internal; |
-// Also used in test-heap.cc test cases. |
-void SimulateFullSpace(PagedSpace* space) { |
- int old_linear_size = static_cast<int>(space->limit() - space->top()); |
- space->Free(space->top(), old_linear_size); |
- space->SetTop(space->limit(), space->limit()); |
- space->ResetFreeList(); |
- space->ClearStats(); |
-} |
- |
- |
static MaybeObject* AllocateAfterFailures() { |
static int attempts = 0; |
if (++attempts < 3) return Failure::RetryAfterGC(); |