Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 98844f05e91deb508b77e4e554dbea4bc6394802..424edd4d394a983664e82a17434a673d5daa36cf 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -2964,6 +2964,17 @@ bool Heap::CreateInitialObjects() { |
} |
set_observation_state(JSObject::cast(obj)); |
+ { MaybeObject* maybe_obj = AllocateSymbol(); |
+ if (!maybe_obj->ToObject(&obj)) return false; |
+ } |
+ set_frozen_symbol(Symbol::cast(obj)); |
+ |
+ { MaybeObject* maybe_obj = SeededNumberDictionary::Allocate(this, 0, TENURED); |
+ if (!maybe_obj->ToObject(&obj)) return false; |
+ } |
+ SeededNumberDictionary::cast(obj)->set_requires_slow_elements(); |
+ set_empty_slow_element_dictionary(SeededNumberDictionary::cast(obj)); |
+ |
// Handling of script id generation is in FACTORY->NewScript. |
set_last_script_id(undefined_value()); |