Index: src/heap/store-buffer.cc |
diff --git a/src/heap/store-buffer.cc b/src/heap/store-buffer.cc |
index 06b44a6d435e1bb186d8ecb3a25a157670e1376c..9a469ee5f2759be2af7c7250c98626a695acae85 100644 |
--- a/src/heap/store-buffer.cc |
+++ b/src/heap/store-buffer.cc |
@@ -476,7 +476,7 @@ void StoreBuffer::IteratePointersToNewSpace(ObjectSlotCallback slot_callback) { |
Page* page = reinterpret_cast<Page*>(chunk); |
PagedSpace* owner = reinterpret_cast<PagedSpace*>(page->owner()); |
if (owner == heap_->map_space()) { |
- DCHECK(page->WasSwept()); |
+ DCHECK(page->SweepingDone()); |
HeapObjectIterator iterator(page); |
for (HeapObject* heap_object = iterator.Next(); heap_object != NULL; |
heap_object = iterator.Next()) { |