| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index b0bfcf230ad1fd9e8d8e958298aca00944542d6c..4f09e675414c4d5e35d014f86273a08faef747ef 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -2821,6 +2821,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();
|
|
|