зеркало из https://github.com/mozilla/gecko-dev.git
Bug 777181 - Breaking out of a for-let-in loop needs SRC_HIDDEN. r=luke
--HG-- extra : rebase_source : b71d4e1983d9e83f9392ff62fbff280cb3fb3295
This commit is contained in:
Родитель
812003ca27
Коммит
656e24cfa0
|
@ -599,6 +599,8 @@ EmitNonLocalJumpFixup(JSContext *cx, BytecodeEmitter *bce, StmtInfoBCE *toStmt)
|
|||
stmt = stmt->down;
|
||||
if (stmt == toStmt)
|
||||
break;
|
||||
if (NewSrcNote(cx, bce, SRC_HIDDEN) < 0)
|
||||
return false;
|
||||
if (Emit1(cx, bce, JSOP_LEAVEFORLETIN) < 0)
|
||||
return false;
|
||||
if (!PopIterator(cx, bce))
|
||||
|
|
Загрузка…
Ссылка в новой задаче