| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index a9206fe1c20c68544e6039dc1b69abeaab86c45e..6381c3c48313587e314ea0986af351c13c9d8135 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2366,10 +2366,6 @@ class JSObject: public JSReceiver {
|
| // don't want to be wasteful with long lived objects.
|
| static const int kMaxUncheckedOldFastElementsLength = 500;
|
|
|
| - // Note that Page::kMaxRegularHeapObjectSize puts a limit on
|
| - // permissible values (see the DCHECK in heap.cc).
|
| - static const int kInitialMaxFastElementArray = 100000;
|
| -
|
| // This constant applies only to the initial map of "global.Object" and
|
| // not to arbitrary other JSObject maps.
|
| static const int kInitialGlobalObjectUnusedPropertiesCount = 4;
|
| @@ -10042,6 +10038,10 @@ class JSArray: public JSObject {
|
| static const int kLengthOffset = JSObject::kHeaderSize;
|
| static const int kSize = kLengthOffset + kPointerSize;
|
|
|
| + // Note that Page::kMaxRegularHeapObjectSize puts a limit on
|
| + // permissible values (see the DCHECK in heap.cc).
|
| + static const int kInitialMaxFastElementArray = 100000;
|
| +
|
| private:
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(JSArray);
|
| };
|
|
|