Bug 843626 GC: Rooting analysis failures in parallel array jittests r=terrence

--HG--
extra : rebase_source : a671dd445040312bdd464555f18844c993357129
This commit is contained in:
Jon Coppeard 2013-02-21 15:50:50 +00:00
parent 99695a8ebf
commit dcad11cbe3

View File

@ -1607,7 +1607,7 @@ ParallelArrayObject::dimensionsGetter(JSContext *cx, CallArgs args)
{
RootedObject dimArray(cx, as(&args.thisv().toObject())->dimensionArray());
RootedObject copy(cx, NewDenseCopiedArray(cx, dimArray->getDenseInitializedLength(),
dimArray->getDenseElements()));
dimArray, 0));
if (!copy)
return false;
// Reuse the existing dimension array's type.