Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 5e66202ded50ffeb8047f7c150377cef71423f5b..12cb2c60cd08402a466df54fa7d38efae1d4d3fc 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -142,6 +142,16 @@ Handle<ObjectHashSet> Factory::NewObjectHashSet(int at_least_space_for) { |
} |
+Handle<OrderedHashSet> Factory::NewOrderedHashSet() { |
+ return OrderedHashSet::Allocate(isolate(), 4); |
+} |
+ |
+ |
+Handle<OrderedHashMap> Factory::NewOrderedHashMap() { |
+ return OrderedHashMap::Allocate(isolate(), 4); |
+} |
+ |
+ |
Handle<ObjectHashTable> Factory::NewObjectHashTable( |
int at_least_space_for, |
MinimumCapacity capacity_option) { |