Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index 3988b4a893e77ba5bff1bb0331a0c9ecf5f8dcfb..0057d18f1df9f08547379c4b5680b0a660a3655c 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -680,14 +680,6 @@ void Deserializer::ReadObject(int space_number, |
LOG(SnapshotPositionEvent(address, source_->position())); |
} |
ReadChunk(current, limit, space_number, address); |
- |
- if (space == Heap::map_space()) { |
- ASSERT(size == Map::kSize); |
- HeapObject* obj = HeapObject::FromAddress(address); |
- Map* map = reinterpret_cast<Map*>(obj); |
- map->set_scavenger(Heap::GetScavenger(map->instance_type(), |
- map->instance_size())); |
- } |
} |