Index: test/cctest/test-weaksets.cc |
diff --git a/test/cctest/test-weaksets.cc b/test/cctest/test-weaksets.cc |
index dbb7311e83619f3770fdb0fc2f2ff3dd7e38b5dc..9c6ae44bfafe1ac45ccc9ca1eb10571cad977093 100644 |
--- a/test/cctest/test-weaksets.cc |
+++ b/test/cctest/test-weaksets.cc |
@@ -199,7 +199,7 @@ |
// Force compacting garbage collection. |
CHECK(FLAG_always_compact); |
- heap->CollectAllGarbage(); |
+ heap->CollectAllGarbage(Heap::kNoGCFlags); |
} |
@@ -241,7 +241,7 @@ |
// Force compacting garbage collection. The subsequent collections are used |
// to verify that key references were actually updated. |
CHECK(FLAG_always_compact); |
- heap->CollectAllGarbage(); |
- heap->CollectAllGarbage(); |
- heap->CollectAllGarbage(); |
-} |
+ heap->CollectAllGarbage(Heap::kNoGCFlags); |
+ heap->CollectAllGarbage(Heap::kNoGCFlags); |
+ heap->CollectAllGarbage(Heap::kNoGCFlags); |
+} |