Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 64225b91cbf6ef711de11eab16244a6d6d43f41b..07d8e33ff004108ad2a6af775756b5966fb21626 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -16044,7 +16044,8 @@ void JSObject::UpdateAllocationSite(Handle<JSObject> object, |
{ |
DisallowHeapAllocation no_allocation; |
- AllocationMemento* memento = heap->FindAllocationMemento(*object); |
+ AllocationMemento* memento = |
+ heap->FindAllocationMemento<Heap::kForRuntime>(*object); |
if (memento == NULL) return; |
// Walk through to the Allocation Site |