Bug 461108 - Decompiler emits extra parens around assignment in "for(;;)" condition. r=brendan.

This commit is contained in:
Jason Orendorff
2008-10-22 14:06:16 -05:00
parent 3c8c79d02b
commit f0bf0f5ee2

View File

@@ -2106,7 +2106,7 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb, JSOp nextop)
if (cond != tail) {
/* Decompile the loop condition. */
DECOMPILE_CODE(pc + cond, tail - cond);
js_printf(jp, " %s", POP_COND_STR());
js_printf(jp, " %s", POP_STR());
}
/* Need a semicolon whether or not there was a cond. */