Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index a8d16aefa1c0870bc1974b37b6bd94d11b54fd0f..c7979cec3fa681cd09a0f1179007f8004d8227fe 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3290,6 +3290,11 @@ bool Heap::CreateInitialObjects() { |
Symbol::cast(obj)->set_is_private(true); |
set_observed_symbol(Symbol::cast(obj)); |
+ { MaybeObject* maybe_obj = AllocateFixedArray(0, TENURED); |
+ if (!maybe_obj->ToObject(&obj)) return false; |
+ } |
+ set_materialized_objects(FixedArray::cast(obj)); |
+ |
// Handling of script id generation is in Factory::NewScript. |
set_last_script_id(Smi::FromInt(v8::Script::kNoScriptId)); |