Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index f291d692cfdffb7043c882e5dd7c01588217e643..7d01c91ce3becb9b1b11406d796a703606cd63f0 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -3788,6 +3788,10 @@ class Dictionary: public HashTable<Derived, Shape, Key> { |
enum SortMode { UNSORTED, SORTED }; |
+ // Return the key indices sorted by its enumeration index. |
+ static Handle<FixedArray> GetOrderedKeyIndices( |
+ Handle<Dictionary<Derived, Shape, Key>> dictionary); |
+ |
// Collect the keys into the given KeyAccumulator, in ascending chronological |
// order of property creation. |
static void CollectKeysTo(Handle<Dictionary<Derived, Shape, Key>> dictionary, |