Index: src/heap/scavenger-inl.h |
diff --git a/src/heap/scavenger-inl.h b/src/heap/scavenger-inl.h |
index cd35c7d7e3378bd9ebe750e7c73d5c2ddd2f76bd..b8fd1c8292fb18f2250f4fd1178e163528ccd6e6 100644 |
--- a/src/heap/scavenger-inl.h |
+++ b/src/heap/scavenger-inl.h |
@@ -28,7 +28,7 @@ void Scavenger::ScavengeObject(HeapObject** p, HeapObject* object) { |
return; |
} |
- object->GetHeap()->UpdateAllocationSite( |
+ object->GetHeap()->UpdateAllocationSite<Heap::kGlobal>( |
object, object->GetHeap()->global_pretenuring_feedback_); |
// AllocationMementos are unrooted and shouldn't survive a scavenge |