| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 5eda04b9df4d99752b522ad54619bf4d3824dce9..6788962cf42e99e84a57cc1f60dd15e67376d12b 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4700,6 +4700,9 @@ class ExternalArray: public FixedArrayBase {
|
| // Casting.
|
| static inline ExternalArray* cast(Object* obj);
|
|
|
| + // Maximal acceptable length for an external array.
|
| + static const int kMaxLength = 0x3fffffff;
|
| +
|
| // ExternalArray headers are not quadword aligned.
|
| static const int kExternalPointerOffset =
|
| POINTER_SIZE_ALIGN(FixedArrayBase::kLengthOffset + kPointerSize);
|
|
|