| Index: src/builtins.cc
|
| diff --git a/src/builtins.cc b/src/builtins.cc
|
| index f081e3d23b50f95b2ca46914d9e38b7c81d9ec3a..eaba839aa46abe9216b19e99e46ae039763d4339 100644
|
| --- a/src/builtins.cc
|
| +++ b/src/builtins.cc
|
| @@ -211,15 +211,15 @@ static MaybeObject* ArrayCodeGenericCommon(Arguments* args,
|
| MaybeObject* maybe_array = array->Initialize(0);
|
| if (maybe_array->IsFailure()) return maybe_array;
|
|
|
| - AllocationSiteInfo* info = AllocationSiteInfo::FindForJSObject(array);
|
| - if (info != NULL && info->IsValid()) {
|
| - AllocationSite* site = info->GetAllocationSite();
|
| + AllocationMemento* memento = AllocationMemento::FindForJSObject(array);
|
| + if (memento != NULL && memento->IsValid()) {
|
| + AllocationSite* site = memento->GetAllocationSite();
|
| ElementsKind to_kind = site->GetElementsKind();
|
| if (IsMoreGeneralElementsKindTransition(array->GetElementsKind(),
|
| to_kind)) {
|
| // We have advice that we should change the elements kind
|
| if (FLAG_trace_track_allocation_sites) {
|
| - PrintF("AllocationSiteInfo: pre-transitioning array %p(%s->%s)\n",
|
| + PrintF("AllocationSite: pre-transitioning array %p(%s->%s)\n",
|
| reinterpret_cast<void*>(array),
|
| ElementsKindToString(array->GetElementsKind()),
|
| ElementsKindToString(to_kind));
|
|
|