Index: test/cctest/test-constantpool.cc |
diff --git a/test/cctest/test-constantpool.cc b/test/cctest/test-constantpool.cc |
index ef64001db8f33d4af52c4b9f2b3e162d5eb41760..4592074742b833fdee16bf3808527f23757e8a3f 100644 |
--- a/test/cctest/test-constantpool.cc |
+++ b/test/cctest/test-constantpool.cc |
@@ -329,7 +329,7 @@ TEST(ConstantPoolCompacting) { |
// Force compacting garbage collection. |
CHECK(FLAG_always_compact); |
- heap->CollectAllGarbage(Heap::kNoGCFlags); |
+ heap->CollectAllGarbage(); |
CHECK_NE(old_ptr, *object); |
CHECK_EQ(*object, array->get_heap_ptr_entry(0)); |