Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index f4489139a0965da28aaf14733e8d68458d1b6627..ed74e9698e36bc55644d7aac45e335617fea17fc 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2921,6 +2921,17 @@ void Heap::CreateInitialObjects() { |
#undef SYMBOL_INIT |
} |
+ { |
+ HandleScope scope(isolate()); |
+#define SYMBOL_INIT(name, varname, description) \ |
+ Handle<Symbol> name = factory->NewSymbol(); \ |
+ Handle<String> name##d = factory->NewStringFromStaticChars(#description); \ |
+ name->set_name(*name##d); \ |
+ roots_[k##name##RootIndex] = *name; |
+ PUBLIC_SYMBOL_LIST(SYMBOL_INIT) |
+#undef SYMBOL_INIT |
+ } |
+ |
CreateFixedStubs(); |
// Allocate the dictionary of intrinsic function names. |