Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 03f68a7958e66defc2df178a02a5a7ae7b1e11f9..b4e6dde1d56ee5ef8cd1876d5dc58f8edb55109a 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -4790,21 +4790,6 @@ MaybeObject* Heap::AllocateUninitializedFixedArray(int length) { |
} |
-MaybeObject* Heap::AllocateEmptyFixedDoubleArray() { |
- int size = FixedDoubleArray::SizeFor(0); |
- Object* result; |
- { MaybeObject* maybe_result = |
- AllocateRaw(size, OLD_DATA_SPACE, OLD_DATA_SPACE); |
- if (!maybe_result->ToObject(&result)) return maybe_result; |
- } |
- // Initialize the object. |
- reinterpret_cast<FixedDoubleArray*>(result)->set_map_no_write_barrier( |
- fixed_double_array_map()); |
- reinterpret_cast<FixedDoubleArray*>(result)->set_length(0); |
- return result; |
-} |
- |
- |
MaybeObject* Heap::AllocateUninitializedFixedDoubleArray( |
int length, |
PretenureFlag pretenure) { |