| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 6a94edd93fc88c47d4a1a1b474072d1731dd8561..c0835e21eb9cb5d3df0d1f5ad1e464b6d4022323 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2112,14 +2112,19 @@ class JSObject: public JSReceiver {
|
| WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
|
|
|
| // Requires: HasFastElements().
|
| + static Handle<FixedArray> 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,
|
|
|