Backed out changeset 298e753a1726 (bug 610370) due to test orange.
authorBoris Zbarsky <bzbarsky@mit.edu>
Mon, 08 Nov 2010 16:45:51 -0500
changeset 57731 97ab2a742e8266ec25f00dc63c20befa7f6f2f75
parent 57730 298e753a172696e6353cd246e0e8e500fb76b16b
child 57732 c5b07cc4b4ca470f9f24f6776c073ee1a872745d
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
bugs610370
milestone2.0b8pre
backs out298e753a172696e6353cd246e0e8e500fb76b16b
Backed out changeset 298e753a1726 (bug 610370) due to test orange.
js/src/jsscope.cpp
--- a/js/src/jsscope.cpp
+++ b/js/src/jsscope.cpp
@@ -442,21 +442,18 @@ PropertyTable::change(int log2Delta, JSC
 
 Shape *
 Shape::getChild(JSContext *cx, const js::Shape &child, Shape **listp)
 {
     JS_ASSERT(!JSID_IS_VOID(child.id));
     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;
     }
 
     if ((*listp)->entryCount() >= PropertyTree::MAX_HEIGHT) {
         Shape *dprop = Shape::newDictionaryList(cx, listp);
         if (!dprop)
             return NULL;
         return dprop->getChild(cx, child, listp);