Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 908b59bc20f1af4af3bbcbea68f6a5f175663f3d..d542e35888e91ae79c9688295cf6726bf1f7d35b 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -387,11 +387,10 @@ void CheckDebuggerUnloaded(bool check_functions) { |
CcTest::CollectAllGarbage(i::Heap::kFinalizeIncrementalMarkingMask); |
CcTest::CollectAllGarbage(Heap::kMakeHeapIterableMask); |
- // Iterate the head and check that there are no debugger related objects left. |
+ // Iterate the heap and check that there are no debugger related objects left. |
HeapIterator iterator(CcTest::heap()); |
for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) { |
CHECK(!obj->IsDebugInfo()); |
- CHECK(!obj->IsBreakPointInfo()); |
// If deep check of functions is requested check that no debug break code |
// is left in all functions. |