Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index d17137f2289f8a82326fef5953de930dbff9be94..f081e3d23b50f95b2ca46914d9e38b7c81d9ec3a 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -214,7 +214,7 @@ static MaybeObject* ArrayCodeGenericCommon(Arguments* args, |
AllocationSiteInfo* info = AllocationSiteInfo::FindForJSObject(array); |
if (info != NULL && info->IsValid()) { |
AllocationSite* site = info->GetAllocationSite(); |
- ElementsKind to_kind = site->GetElementsKindPayload(); |
+ ElementsKind to_kind = site->GetElementsKind(); |
if (IsMoreGeneralElementsKindTransition(array->GetElementsKind(), |
to_kind)) { |
// We have advice that we should change the elements kind |