Catch some opcodes which return directly from a script, bug 723099. r=dvander

This commit is contained in:
Brian Hackett 2012-02-02 16:09:47 -08:00
parent eb40383cdf
commit fa94777aac

View File

@ -1438,6 +1438,9 @@ ScriptAnalysis::analyzeSSA(JSContext *cx)
}
case JSOP_THROW:
case JSOP_RETURN:
case JSOP_STOP:
case JSOP_RETRVAL:
mergeAllExceptionTargets(cx, values, exceptionTargets);
break;