| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 225a7db42e0cfab92c786cea07095731304ffa22..1e1aceb65e1cb7d6bebaf62587151a8b40f0e41e 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2359,10 +2359,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;
|
| @@ -9994,6 +9990,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);
|
| };
|
|
|