Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index d16c7dd0da4e3262beb630f18000143145a1f702..f9c86f50942045e074e33e1fbd44027db44367a3 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -2664,6 +2664,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; |