Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index aa51bea31cb1ac5eea78c4b80db390e1496d88f0..5b7fe56133d128267a0d37972dcd129a12d92d38 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -92,8 +92,8 @@ TEST(Promotion) { |
CHECK(heap->InSpace(*array, NEW_SPACE)); |
// Call mark compact GC, so array becomes an old object. |
- heap->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
- heap->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
+ heap->CollectAllGarbage(); |
+ heap->CollectAllGarbage(); |
// Array now sits in the old space |
CHECK(heap->InSpace(*array, OLD_SPACE)); |