Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 328ff63cd9d9059d22394e56a56e9a52eeb18ff4..401cbdbacc0d9a0dcb1a87e41c8273e9571d5202 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1589,7 +1589,6 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
Handle<JSFunction> cons = factory->NewFunction(name); |
JSFunction::SetInstancePrototype(cons, |
Handle<Object>(native_context()->initial_object_prototype(), isolate)); |
- cons->shared()->set_instance_class_name(*name); |
Handle<JSObject> json_object = factory->NewJSObject(cons, TENURED); |
DCHECK(json_object->IsJSObject()); |
JSObject::AddProperty(global, name, json_object, DONT_ENUM); |
@@ -1601,7 +1600,6 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
JSFunction::SetInstancePrototype( |
cons, |
Handle<Object>(native_context()->initial_object_prototype(), isolate)); |
- cons->shared()->set_instance_class_name(*name); |
Handle<JSObject> math = factory->NewJSObject(cons, TENURED); |
DCHECK(math->IsJSObject()); |
JSObject::AddProperty(global, name, math, DONT_ENUM); |