Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index d7f07b85eb0369689532f9d20271fe916c750ff9..15d867111e4b90801aff676a421ac014b8e650b0 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2826,6 +2826,14 @@ void Heap::CreateInitialObjects() { |
} |
{ |
+ Handle<FixedArray> empty_literals_array = |
+ factory->NewFixedArray(1, TENURED); |
+ empty_literals_array->set(0, *factory->empty_fixed_array(), |
+ SKIP_WRITE_BARRIER); |
+ set_empty_literals_array(*empty_literals_array); |
+ } |
+ |
+ { |
Handle<WeakCell> cell = factory->NewWeakCell(factory->undefined_value()); |
set_empty_weak_cell(*cell); |
cell->clear(); |