Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 7b8f506d4690720b936adeb50d7debfce0811b88..7f8f9ab1ca6affa801a2e9756ac3593bfa713a90 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -15870,7 +15870,7 @@ Maybe<bool> JSObject::HasRealNamedCallbackProperty(Handle<JSObject> object, |
} |
int FixedArrayBase::GetMaxLengthForNewSpaceAllocation(ElementsKind kind) { |
- return ((Page::kMaxRegularHeapObjectSize - FixedArrayBase::kHeaderSize) >> |
+ return ((kMaxRegularHeapObjectSize - FixedArrayBase::kHeaderSize) >> |
ElementsKindToShiftSize(kind)); |
} |