Merge mozilla-central to tracemonkey.

This commit is contained in:
Robert Sayre
2009-08-20 18:02:17 -04:00
429 changed files with 15995 additions and 6316 deletions

View File

@@ -2793,6 +2793,11 @@ js_XDRBlockObject(JSXDRState *xdr, JSObject **objp)
}
}
if (xdr->mode == JSXDR_DECODE) {
/* Do as the parser does and make this block scope shareable. */
OBJ_SCOPE(obj)->object = NULL;
}
JS_POP_TEMP_ROOT(cx, &tvr);
return ok;
}