Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index cfe63f216d599a5231f3332e786d599f9cc0cd91..7254efa6557658b30668c8ae5786ec949c532704 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -378,7 +378,7 @@ void CheckDebuggerUnloaded(bool check_functions) { |
// Collect garbage to ensure weak handles are cleared. |
CcTest::heap()->CollectAllGarbage(); |
- CcTest::heap()->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
+ CcTest::heap()->CollectAllGarbage(); |
// Iterate the head and check that there are no debugger related objects left. |
HeapIterator iterator(CcTest::heap()); |