Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index e195d14923ef324dea976cd94aa2ec3d52594196..a8e504fd443a6c77dddfbde352c372f11206a569 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -34,7 +34,8 @@ |
using namespace v8::internal; |
-static inline void SimulateFullSpace(PagedSpace* space) { |
+// 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()); |