Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index d1e672adcffdfcb74e8be3c1654f48a667bc06db..6665ae047eb217c630e35a8e06cbeb291fdfada7 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -43,7 +43,6 @@ HeapObjectIterator::HeapObjectIterator(Page* page, |
Space* owner = page->owner(); |
DCHECK(owner == page->heap()->old_space() || |
owner == page->heap()->map_space() || |
- owner == page->heap()->cell_space() || |
owner == page->heap()->code_space()); |
Initialize(reinterpret_cast<PagedSpace*>(owner), page->area_start(), |
page->area_end(), kOnePageOnly, size_func); |
@@ -924,8 +923,6 @@ STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::OLD_SPACE) == |
ObjectSpace::kObjectSpaceOldSpace); |
STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::CODE_SPACE) == |
ObjectSpace::kObjectSpaceCodeSpace); |
-STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::CELL_SPACE) == |
- ObjectSpace::kObjectSpaceCellSpace); |
STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::MAP_SPACE) == |
ObjectSpace::kObjectSpaceMapSpace); |
@@ -2795,15 +2792,6 @@ void MapSpace::VerifyObject(HeapObject* object) { CHECK(object->IsMap()); } |
// ----------------------------------------------------------------------------- |
-// CellSpace implementation |
-// TODO(mvstanton): this is weird...the compiler can't make a vtable unless |
-// there is at least one non-inlined virtual function. I would prefer to hide |
-// the VerifyObject definition behind VERIFY_HEAP. |
- |
-void CellSpace::VerifyObject(HeapObject* object) { CHECK(object->IsCell()); } |
- |
- |
-// ----------------------------------------------------------------------------- |
// LargeObjectIterator |
LargeObjectIterator::LargeObjectIterator(LargeObjectSpace* space) { |