Backed out changeset 298e753a1726 (bug 610370) due to test orange.

This commit is contained in:
Boris Zbarsky 2010-11-08 16:45:51 -05:00
parent 4f8630a253
commit c5a2cf663d

View File

@ -447,11 +447,8 @@ Shape::getChild(JSContext *cx, const js::Shape &child, Shape **listp)
JS_ASSERT(!child.inDictionary());
if (inDictionary()) {
if (newDictionaryShape(cx, child, listp)) {
if (!(*listp)->table)
(*listp)->maybeHash(cx);
if (newDictionaryShape(cx, child, listp))
return *listp;
}
return NULL;
}