Bug 840611: Fix build on BE archs (ie ppc) after bug 834242. r=terrence

This commit is contained in:
Landry Breuil 2013-02-12 22:29:29 +01:00
parent 9a0af56ea0
commit 782f7024e2

View File

@ -513,7 +513,7 @@ js::XDRAtom(XDRState<mode> *xdr, MutableHandleAtom atomp)
}
JS_ALWAYS_TRUE(xdr->codeChars(chars, nchars));
atom = AtomizeChars(cx, chars, nchars);
atom = AtomizeChars<CanGC>(cx, chars, nchars);
if (chars != stackChars)
js_free(chars);
#endif /* !IS_LITTLE_ENDIAN */