Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index aea01dc8a93473b3eb09fcad2f069845e304a41b..687426bc76d6cdf7a9eb63c48ee077091243f97e 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13438,9 +13438,7 @@ Handle<Derived> HashTable<Derived, Shape, Key>::New( |
int capacity = (capacity_option == USE_CUSTOM_MINIMUM_CAPACITY) |
? at_least_space_for |
- : isolate->creating_default_snapshot() |
- ? ComputeCapacityForSerialization(at_least_space_for) |
- : ComputeCapacity(at_least_space_for); |
+ : ComputeCapacity(at_least_space_for); |
if (capacity > HashTable::kMaxCapacity) { |
v8::internal::Heap::FatalProcessOutOfMemory("invalid table size", true); |
} |