Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index dae3223a0a41e26e46cd31cc862a07eb5d2c1b6d..c764b33e6793ee169d0866318e19483a888e4b08 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13921,7 +13921,7 @@ MaybeObject* HashTable<Shape, Key>::Allocate(Heap* heap, |
? at_least_space_for |
: ComputeCapacity(at_least_space_for); |
if (capacity > HashTable::kMaxCapacity) { |
- return Failure::OutOfMemoryException(0x10); |
+ v8::internal::Heap::FatalProcessOutOfMemory("invalid table size", true); |
} |
Object* obj; |