| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 326b6f169ceb29b9c6364866bb21775fcbf73d3d..68fb9f7ac0c263d1c0f501b7b628a63f9e6a5948 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -16013,7 +16013,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
|
|
|