Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 95e0ae5403d6a0279d0b55fd1c1b9c0ca13f7251..1c6e6e9c5760598b738e970dc7ee81fe0cc06a26 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2366,6 +2366,10 @@ |
// 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; |
@@ -10032,10 +10036,6 @@ |
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); |
}; |