Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 440c6f15c490254016b5789fda65c6b508ceb19a..73a3909591348d79c8d2653da22fb244234b3c2b 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()); |