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 8b3fd7eb85
commit 897d4409ee

View File

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