Bug 540774: "Assertion failure: top < StackDepth(ss->printer->script)" decompiling upvar (r=jorendorff).

This commit is contained in:
Brendan Eich 2010-01-20 16:28:18 -08:00
Родитель aa87db6fa2
Коммит 8101f0e3d2
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -2525,8 +2525,13 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb, JSOp nextop)
break;
case SRC_HIDDEN:
/* Hide this pop, it's from a goto in a with or for/in. */
/*
* Hide this pop. Don't adjust our stack depth model if
* it's from a goto in a with or for/in.
*/
todo = -2;
if (lastop == JSOP_UNBRAND)
(void) POP_STR();
break;
case SRC_DECL: