Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 74f2b2926c08f93e87c22044913e1156517f110b..6cc9d77c541cfb3a242c7e16c42af3d9223f69e9 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2140,10 +2140,9 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
// Install @@toStringTag. |
PropertyAttributes attribs = |
static_cast<PropertyAttributes>(DONT_ENUM | READ_ONLY); |
- Handle<AccessorInfo> toStringTag = |
- Accessors::ModuleNamespaceToStringTagInfo(isolate, attribs); |
- AccessorConstantDescriptor d(factory->to_string_tag_symbol(), toStringTag, |
- attribs); |
+ DataConstantDescriptor d(factory->to_string_tag_symbol(), |
+ factory->NewStringFromAsciiChecked("Module"), |
+ attribs); |
Map::EnsureDescriptorSlack(map, 1); |
map->AppendDescriptor(&d); |