| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 299ca2dcacc5be83e8e91c4a43177b7892bfb0b3..645aa907ee606bc1965dfa21fd8542183735076f 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2112,14 +2112,18 @@ class JSObject: public JSReceiver {
|
| WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
|
|
|
| // Requires: HasFastElements().
|
| + static Handle<Object> EnsureWritableFastElements(Handle<JSObject> object);
|
| MUST_USE_RESULT inline MaybeObject* EnsureWritableFastElements();
|
|
|
| // Collects elements starting at index 0.
|
| // Undefined values are placed after non-undefined values.
|
| // Returns the number of non-undefined values.
|
| - MUST_USE_RESULT MaybeObject* PrepareElementsForSort(uint32_t limit);
|
| + static Handle<Object> PrepareElementsForSort(Handle<JSObject> object,
|
| + uint32_t limit);
|
| // As PrepareElementsForSort, but only on objects where elements is
|
| // a dictionary, and it will stay a dictionary.
|
| + static Handle<Object> PrepareSlowElementsForSort(Handle<JSObject> object,
|
| + uint32_t limit);
|
| MUST_USE_RESULT MaybeObject* PrepareSlowElementsForSort(uint32_t limit);
|
|
|
| static Handle<Object> GetPropertyWithCallback(Handle<JSObject> object,
|
|
|