Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index af1759ba65fb68c9ee16c3bde75f087f14950eb2..0c3d0adc6e35b804faf0cf802c6b9561f40eb43c 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -4294,18 +4294,6 @@ MaybeObject* Heap::AllocateEmptyConstantPoolArray() { |
} |
-MaybeObject* Heap::AllocateHashTable(int length, PretenureFlag pretenure) { |
- Object* result; |
- { MaybeObject* maybe_result = AllocateFixedArray(length, pretenure); |
- if (!maybe_result->ToObject(&result)) return maybe_result; |
- } |
- reinterpret_cast<HeapObject*>(result)->set_map_no_write_barrier( |
- hash_table_map()); |
- ASSERT(result->IsHashTable()); |
- return result; |
-} |
- |
- |
MaybeObject* Heap::AllocateSymbol() { |
// Statically ensure that it is safe to allocate symbols in paged spaces. |
STATIC_ASSERT(Symbol::kSize <= Page::kMaxRegularHeapObjectSize); |