Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 5ee2d975a23ea2de9254ccd5e747f211971b4de2..b42720f178b797279c77615fdac02523aa9453eb 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -4714,8 +4714,8 @@ void Heap::Verify() { |
void Heap::ZapFromSpace() { |
if (!new_space_->IsFromSpaceCommitted()) return; |
- for (Page* page : NewSpacePageRange(new_space_->FromSpaceStart(), |
- new_space_->FromSpaceEnd())) { |
+ for (Page* page : |
+ PageRange(new_space_->FromSpaceStart(), new_space_->FromSpaceEnd())) { |
for (Address cursor = page->area_start(), limit = page->area_end(); |
cursor < limit; cursor += kPointerSize) { |
Memory::Address_at(cursor) = kFromSpaceZapValue; |