Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 2a248b7d9134f77e001bdac44d9a7887b6c33214..d8e17638ff2617aba1c353044912fcfba7e1abb7 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2663,6 +2663,8 @@ class FixedArrayBase: public HeapObject { |
DECLARE_CAST(FixedArrayBase) |
+ static int GetMaxLengthForNewSpaceAllocation(ElementsKind kind); |
+ |
// Layout description. |
// Length is smi tagged when it is stored. |
static const int kLengthOffset = HeapObject::kHeaderSize; |