Back out fd36716d1f9d (bug 1162986) for mostly-Win8-debug devtools crashes

CLOSED TREE
This commit is contained in:
Phil Ringnalda
2015-06-13 14:41:15 -07:00
parent bb82b10b04
commit 656b9d6e3d
52 changed files with 610 additions and 387 deletions

View File

@@ -2392,22 +2392,6 @@ js::SetClassAndProto(JSContext* cx, HandleObject obj,
return true;
}
/* static */ bool
JSObject::changeToSingleton(JSContext* cx, HandleObject obj)
{
MOZ_ASSERT(!obj->isSingleton());
MarkObjectGroupUnknownProperties(cx, obj->group());
ObjectGroup* group = ObjectGroup::lazySingletonGroup(cx, obj->getClass(),
obj->getTaggedProto());
if (!group)
return false;
obj->group_ = group;
return true;
}
static bool
MaybeResolveConstructor(ExclusiveContext* cxArg, Handle<GlobalObject*> global, JSProtoKey key)
{