Index: src/heap-snapshot-generator.cc |
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
index 6229386804b0361109178c73c482996dbd002d4e..f72fad9bf23f80261fddaa580b550f8324e64c3f 100644 |
--- a/src/heap-snapshot-generator.cc |
+++ b/src/heap-snapshot-generator.cc |
@@ -2600,12 +2600,12 @@ bool HeapSnapshotGenerator::GenerateSnapshot() { |
#ifdef VERIFY_HEAP |
Heap* debug_heap = heap_; |
- CHECK(debug_heap->old_data_space()->is_iterable()); |
- CHECK(debug_heap->old_pointer_space()->is_iterable()); |
- CHECK(debug_heap->code_space()->is_iterable()); |
- CHECK(debug_heap->cell_space()->is_iterable()); |
- CHECK(debug_heap->property_cell_space()->is_iterable()); |
- CHECK(debug_heap->map_space()->is_iterable()); |
+ CHECK(debug_heap->old_data_space()->swept_precisely()); |
+ CHECK(debug_heap->old_pointer_space()->swept_precisely()); |
+ CHECK(debug_heap->code_space()->swept_precisely()); |
+ CHECK(debug_heap->cell_space()->swept_precisely()); |
+ CHECK(debug_heap->property_cell_space()->swept_precisely()); |
+ CHECK(debug_heap->map_space()->swept_precisely()); |
#endif |
#ifdef VERIFY_HEAP |