Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 103697239bbb2916f0ba1cb4ddb88da74e136a14..923f434ed019969a61ba765537be4fa72b0819e9 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2780,14 +2780,8 @@ 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); |