Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 2f41f83747eb5e31d064679fc09ca9e9d8d134b7..1ab4d2e85b300400445eed38bf4c80414efef102 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2826,14 +2826,6 @@ void Heap::CreateInitialObjects() { |
Handle<WeakCell> cell = factory->NewWeakCell(factory->undefined_value()); |
set_empty_weak_cell(*cell); |
cell->clear(); |
- |
- Handle<FixedArray> cleared_optimized_code_map = |
- factory->NewFixedArray(SharedFunctionInfo::kEntriesStart, TENURED); |
- cleared_optimized_code_map->set(SharedFunctionInfo::kSharedCodeIndex, |
- *cell); |
- STATIC_ASSERT(SharedFunctionInfo::kEntriesStart == 1 && |
- SharedFunctionInfo::kSharedCodeIndex == 0); |
- set_cleared_optimized_code_map(*cleared_optimized_code_map); |
} |
set_detached_contexts(empty_fixed_array()); |