Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 835de3ef77b2ceba38cc907520cab412173109a8..b7d0ec4d642472723078f6361294f9ad2c72b056 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -15981,7 +15981,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 |