Index: src/heap/scavenger-inl.h |
diff --git a/src/heap/scavenger-inl.h b/src/heap/scavenger-inl.h |
index 0cf84d5f15acb9b0285317fe9f05348baffc5670..3fb6b29122c637996f56bd0ea0f874ab1137bc74 100644 |
--- a/src/heap/scavenger-inl.h |
+++ b/src/heap/scavenger-inl.h |
@@ -35,15 +35,6 @@ |
DCHECK(object->map() != object->GetHeap()->allocation_memento_map()); |
// Call the slow part of scavenge object. |
return ScavengeObjectSlow(p, object); |
-} |
- |
-void Scavenger::ScavengeObjectSlow(HeapObject** p, HeapObject* object) { |
- SLOW_DCHECK(object->GetIsolate()->heap()->InFromSpace(object)); |
- MapWord first_word = object->map_word(); |
- SLOW_DCHECK(!first_word.IsForwardingAddress()); |
- Map* map = first_word.ToMap(); |
- Scavenger* scavenger = map->GetHeap()->scavenge_collector_; |
- scavenger->scavenging_visitors_table_.GetVisitor(map)(map, p, object); |
} |
SlotCallbackResult Scavenger::CheckAndScavengeObject(Heap* heap, |