зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 8361462f2a02 (bug 1125389) for mochitest asserts.
This commit is contained in:
Родитель
a8bf98021a
Коммит
616fece98a
|
@ -640,12 +640,7 @@ js::NewReshapedObject(JSContext *cx, HandleTypeObject type, JSObject *parent,
|
|||
|
||||
/* Construct the new shape, without updating type information. */
|
||||
RootedId id(cx);
|
||||
RootedShape newShape(cx, EmptyShape::getInitialShape(cx, res->getClass(),
|
||||
res->getTaggedProto(),
|
||||
res->getMetadata(),
|
||||
res->getParent(),
|
||||
res->numFixedSlots(),
|
||||
shape->getObjectFlags()));
|
||||
RootedShape newShape(cx, res->lastProperty());
|
||||
for (unsigned i = 0; i < ids.length(); i++) {
|
||||
id = ids[i];
|
||||
MOZ_ASSERT(!res->contains(cx, id));
|
||||
|
|
Загрузка…
Ссылка в новой задаче