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