Backed out changeset 487b81c753c0 - landing of bug 505315 caused talos crashes across platforms.

This commit is contained in:
Igor Bukanov
2009-10-15 13:53:40 +04:00
parent 134e92fea3
commit 1faff07f40
9 changed files with 538 additions and 472 deletions

View File

@@ -3463,7 +3463,7 @@ js_NewArrayObject(JSContext *cx, jsuint length, jsval *vector, JSBool holey)
JS_POP_TEMP_ROOT(cx, &tvr);
/* Set/clear newborn root, in case we lost it. */
cx->weakRoots.finalizableNewborns[FINALIZE_OBJECT] = obj;
cx->weakRoots.newbornObject = obj;
return obj;
}