Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 833f50f89f51f3c473f26f26fd2320280f28d6a6..7fb77a1c88fcfb92edca801f434c5737365d5fee 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1948,7 +1948,7 @@ TEST(PrototypeTransitionClearing) { |
// Verify that only dead prototype transitions are cleared. |
CHECK_EQ(10, baseObject->map()->NumberOfProtoTransitions()); |
- HEAP->CollectAllGarbage(Heap::kNoGCFlags); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
const int transitions = 10 - 3; |
CHECK_EQ(transitions, baseObject->map()->NumberOfProtoTransitions()); |