Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 4680e75204b30bf91770ab04333fa9fcdd7b94d0..c2fa087d0769353fef32deae556719146250335e 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -139,12 +139,12 @@ Handle<ConstantPoolArray> Factory::NewExtendedConstantPoolArray( |
Handle<OrderedHashSet> Factory::NewOrderedHashSet() { |
- return OrderedHashSet::Allocate(isolate(), 4); |
+ return OrderedHashSet::Allocate(isolate(), OrderedHashSet::kMinCapacity); |
} |
Handle<OrderedHashMap> Factory::NewOrderedHashMap() { |
- return OrderedHashMap::Allocate(isolate(), 4); |
+ return OrderedHashMap::Allocate(isolate(), OrderedHashMap::kMinCapacity); |
} |