Bug 816776 - Add debug-mode exact rooting assertions for Shape; r=sfink

This commit is contained in:
Terrence Cole
2012-11-29 10:22:10 -08:00
parent 3f0da7ca80
commit 541a62731f
64 changed files with 797 additions and 725 deletions

View File

@@ -428,6 +428,7 @@ template<XDRMode mode>
bool
js::XDRAtom(XDRState<mode> *xdr, MutableHandleAtom atomp)
{
AssertCanGC();
if (mode == XDR_ENCODE) {
uint32_t nchars = atomp->length();
if (!xdr->codeUint32(&nchars))