Bug 940088 - Fix assumption that Ion stays enabled across warmup in ForkJoin. (r=nmatsakis)

This commit is contained in:
Shu-yu Guo 2013-12-05 15:51:55 -08:00
parent 7667458dc3
commit 9db256f637

View File

@ -155,9 +155,9 @@ static bool
ExecuteSequentially(JSContext *cx, HandleValue funVal, bool *complete)
{
uint32_t numSlices = ForkJoinSlices(cx);
FastInvokeGuard fig(cx, funVal);
bool allComplete = true;
for (uint32_t i = 0; i < numSlices; i++) {
FastInvokeGuard fig(cx, funVal);
InvokeArgs &args = fig.args();
if (!args.init(3))
return false;