Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index f55073ce9ec6079144e56baee21a67e3c3bb8e0c..b1657ab9878dca4c5b1145bb06788e96ac4b9c25 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -488,7 +488,7 @@ void Heap::ScavengePointer(HeapObject** p) { |
void Heap::UpdateAllocationSiteFeedback(HeapObject* object) { |
Heap* heap = object->GetHeap(); |
- ASSERT(heap->InNewSpace(object)); |
+ ASSERT(heap->InFromSpace(object)); |
if (!FLAG_allocation_site_pretenuring || |
!AllocationSite::CanTrack(object->map()->instance_type())) return; |