Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index bcece7ad83c2ad3e3fa75a4a81629bb99bacfabf..1d80f82cee0663ac786c8330bb41c0e43d773653 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2717,6 +2717,15 @@ void Heap::CreateInitialObjects() { |
roots_[k##name##RootIndex] = *name; |
PUBLIC_SYMBOL_LIST(SYMBOL_INIT) |
#undef SYMBOL_INIT |
+ |
+#define SYMBOL_INIT(name, description) \ |
+ Handle<Symbol> name = factory->NewSymbol(); \ |
+ Handle<String> name##d = factory->NewStringFromStaticChars(#description); \ |
+ name->set_is_well_known_symbol(true); \ |
+ name->set_name(*name##d); \ |
+ roots_[k##name##RootIndex] = *name; |
+ WELL_KNOWN_SYMBOL_LIST(SYMBOL_INIT) |
+#undef SYMBOL_INIT |
} |
CreateFixedStubs(); |