Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index afdc7bb4cd397d69625ecdca09c295a668e0a6ae..673ceba973cbb4bcc230ac0bb981539dad6da88e 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2791,6 +2791,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); |
Michael Starzinger
2016/05/10 13:47:20
nit: I have a hard time reasoning about whether sk
mvstanton
2016/05/24 16:31:49
Done.
mvstanton
2016/05/24 16:31:50
Done.
|
+ set_empty_literals_array(*empty_literals_array); |
+ } |
+ |
+ { |
Handle<WeakCell> cell = factory->NewWeakCell(factory->undefined_value()); |
set_empty_weak_cell(*cell); |
cell->clear(); |