зеркало из https://github.com/mozilla/gecko-dev.git
Fix decompiler (hack, really) to cope with misplaced JSOP_HEADER in update part of for(;;) loop.
This commit is contained in:
Родитель
82cd18b6ab
Коммит
e49b7995d0
|
@ -2061,7 +2061,8 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb, JSOp nextop)
|
|||
|
||||
if (pc[next] != JSOP_GOTO && pc[next] != JSOP_GOTOX) {
|
||||
/* Decompile the loop updater. */
|
||||
DECOMPILE_CODE(pc + next, tail - next - 1);
|
||||
DECOMPILE_CODE(pc + next, tail - next -
|
||||
(JSOP_POP_LENGTH + JSOP_HEADER_LENGTH));
|
||||
js_printf(jp, " %s", POP_STR());
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче