| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index c4d3f251c318173946ab614ff661c3da679eb6fa..bb0f0f11d379240195f71c148418f9bd26bfe88c 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -10028,9 +10028,15 @@ class JSArray: public JSObject {
|
| // Casting.
|
| static inline JSArray* cast(Object* obj);
|
|
|
| - // Uses handles. Ensures that the fixed array backing the JSArray has at
|
| + // Ensures that the fixed array backing the JSArray has at
|
| // least the stated size.
|
| - inline void EnsureSize(int minimum_size_of_backing_fixed_array);
|
| + static inline void EnsureSize(Handle<JSArray> array,
|
| + int minimum_size_of_backing_fixed_array);
|
| +
|
| + // Expand the fixed array backing of a fast-case JSArray to at least
|
| + // the requested size.
|
| + static void Expand(Handle<JSArray> array,
|
| + int minimum_size_of_backing_fixed_array);
|
|
|
| // Dispatched behavior.
|
| DECLARE_PRINTER(JSArray)
|
| @@ -10044,10 +10050,6 @@ class JSArray: public JSObject {
|
| static const int kSize = kLengthOffset + kPointerSize;
|
|
|
| private:
|
| - // Expand the fixed array backing of a fast-case JSArray to at least
|
| - // the requested size.
|
| - void Expand(int minimum_size_of_backing_fixed_array);
|
| -
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(JSArray);
|
| };
|
|
|
|
|