Bug 893752 - Clean up compartment compiler outputs after releasing all JIT code, r=jandem.

This commit is contained in:
Brian Hackett 2013-07-18 13:14:20 -06:00
parent fab2f97dd2
commit 63c8435c3d

View File

@ -4859,6 +4859,10 @@ js::ReleaseAllJITCode(FreeOp *fop)
ion::FinishDiscardBaselineScript(fop, script);
}
}
/* Sweep now invalidated compiler outputs from each compartment. */
for (CompartmentsIter comp(fop->runtime()); !comp.done(); comp.next())
comp->types.sweepCompilerOutputs(fop, false);
#endif
}