Ensure off thread compilations are properly canceled on new type barriers or monitored bytecodes, bug 813559. r=dvander

This commit is contained in:
Brian Hackett 2012-11-23 18:26:34 -05:00
parent 7956b1abc2
commit f547f24244

View File

@ -2008,7 +2008,7 @@ JITCodeHasCheck(HandleScript script, jsbytecode *pc, RecompileKind kind)
}
#endif
if (script->hasAnyIonScript())
if (script->hasAnyIonScript() || script->isIonCompilingOffThread())
return false;
return true;