Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index bbb3402c0c29b8fa80242673f8a84a0528d26e06..a5a288a6f25e0dc3ac17572c88e174f57531c4b2 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -2095,7 +2095,7 @@ void SemiSpace::set_age_mark(Address mark) { |
DCHECK_EQ(Page::FromAllocationAreaAddress(mark)->owner(), this); |
age_mark_ = mark; |
// Mark all pages up to the one containing mark. |
- for (Page* p : NewSpacePageRange(space_start(), mark)) { |
+ for (Page* p : PageRange(space_start(), mark)) { |
p->SetFlag(MemoryChunk::NEW_SPACE_BELOW_AGE_MARK); |
} |
} |