Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index ebf1487e1487a7aea99d4fa5e11c8c4b285ec4a6..0b2fe16481fb610cae86a51f733f4cd63c188139 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3172,6 +3172,11 @@ bool Heap::CreateInitialObjects() { |
SeededNumberDictionary::cast(obj)->set_requires_slow_elements(); |
set_empty_slow_element_dictionary(SeededNumberDictionary::cast(obj)); |
+ { MaybeObject* maybe_obj = AllocateSymbol(); |
+ if (!maybe_obj->ToObject(&obj)) return false; |
+ } |
+ set_observed_symbol(Symbol::cast(obj)); |
+ |
// Handling of script id generation is in Factory::NewScript. |
set_last_script_id(Smi::FromInt(v8::Script::kNoScriptId)); |