Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index ee212453b8265485245a43db4c2a4b623c4434e2..672a8f2bd25d892a480f7ea7ebca4035b3b48695 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -16041,7 +16041,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 |