Index: src/heap/heap-inl.h |
diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h |
index 4932b4483b2226cbd4ad77a7e19308b8b2e9dbb6..a80f49eb5bb39dc0892e243280f68507c79d895f 100644 |
--- a/src/heap/heap-inl.h |
+++ b/src/heap/heap-inl.h |
@@ -631,7 +631,6 @@ AllocationMemento* Heap::FindAllocationMemento(HeapObject* object) { |
template <Heap::UpdateAllocationSiteMode mode> |
void Heap::UpdateAllocationSite(HeapObject* object, |
base::HashMap* pretenuring_feedback) { |
- DCHECK(InFromSpace(object)); |
Hannes Payer (out of office)
2016/11/10 15:52:26
why do you have to remove this check? it should st
Michael Lippautz
2016/11/10 16:03:28
Object can now be in ToSpace, FromSpace, or even o
|
if (!FLAG_allocation_site_pretenuring || |
!AllocationSite::CanTrack(object->map()->instance_type())) |
return; |