Index: src/heap/spaces-inl.h |
diff --git a/src/heap/spaces-inl.h b/src/heap/spaces-inl.h |
index 3c5c99af9491852d8c92f187aae3c1d288b8515f..52c572cc4a65078687ced45fb55359b59ea2ad2b 100644 |
--- a/src/heap/spaces-inl.h |
+++ b/src/heap/spaces-inl.h |
@@ -282,16 +282,16 @@ void Page::MarkNeverAllocateForTesting() { |
void Page::MarkEvacuationCandidate() { |
DCHECK(!IsFlagSet(NEVER_EVACUATE)); |
- DCHECK_NULL(old_to_old_slots_); |
- DCHECK_NULL(typed_old_to_old_slots_); |
+ DCHECK_NULL(slot_set<OLD_TO_OLD>()); |
+ DCHECK_NULL(typed_slot_set<OLD_TO_OLD>()); |
SetFlag(EVACUATION_CANDIDATE); |
reinterpret_cast<PagedSpace*>(owner())->free_list()->EvictFreeListItems(this); |
} |
void Page::ClearEvacuationCandidate() { |
if (!IsFlagSet(COMPACTION_WAS_ABORTED)) { |
- DCHECK_NULL(old_to_old_slots_); |
- DCHECK_NULL(typed_old_to_old_slots_); |
+ DCHECK_NULL(slot_set<OLD_TO_OLD>()); |
+ DCHECK_NULL(typed_slot_set<OLD_TO_OLD>()); |
} |
ClearFlag(EVACUATION_CANDIDATE); |
InitializeFreeListCategories(); |