| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index b2b1a77c6b4611d8c6bf8a255b0cd5608752c208..7217b29e8b4533abbfaef4704471b7f85bde9bd7 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2770,10 +2770,13 @@ class Dictionary: public HashTable<Shape, Key> {
|
| // Returns the number of enumerable elements in the dictionary.
|
| int NumberOfEnumElements();
|
|
|
| + enum SortMode { UNSORTED, SORTED };
|
| // Copies keys to preallocated fixed array.
|
| - void CopyKeysTo(FixedArray* storage, PropertyAttributes filter);
|
| + void CopyKeysTo(FixedArray* storage,
|
| + PropertyAttributes filter,
|
| + SortMode sort_mode);
|
| // Fill in details for properties into storage.
|
| - void CopyKeysTo(FixedArray* storage);
|
| + void CopyKeysTo(FixedArray* storage, SortMode sort_mode);
|
|
|
| // Accessors for next enumeration index.
|
| void SetNextEnumerationIndex(int index) {
|
|
|