[JAEGER] Manually back out rest of bug 585749 temp fix

This commit is contained in:
David Mandelin
2010-08-09 18:36:25 -07:00
parent 0c7388d70b
commit 81d59b8edc

View File

@@ -808,16 +808,6 @@ js_CloseIterator(JSContext *cx, JSObject *obj)
if (ni->shapes_length) {
uint32 hash = ni->shapes_key % NATIVE_ITER_CACHE_SIZE;
JSObject **hp = &JS_THREAD_DATA(cx)->cachedNativeIterators[hash];
JSObject *pobj = obj;
int i = 0;
do {
ni->shapes_array[i] = pobj->shape();
++i;
pobj = pobj->getProto();
} while (pobj);
ni->shapes_length = i;
ni->props_cursor = ni->props_array;
ni->next = *hp;
*hp = obj;