| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 844c56b58d1e8422301bfe77a6b6e0d7dbcc2552..1c11997d392ceda436d6ec0fc9e5ace18f40e1fc 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -15693,6 +15693,10 @@ Maybe<bool> JSObject::HasRealNamedCallbackProperty(Handle<JSObject> object,
|
| : Nothing<bool>();
|
| }
|
|
|
| +int FixedArrayBase::GetMaxLengthForNewSpaceAllocation(ElementsKind kind) {
|
| + return ((Page::kMaxRegularHeapObjectSize - FixedArrayBase::kHeaderSize) >>
|
| + ElementsKindToShiftSize(kind));
|
| +}
|
|
|
| void FixedArray::SwapPairs(FixedArray* numbers, int i, int j) {
|
| Object* temp = get(i);
|
|
|