Bug 461108 - Decompiler emits extra parens around assignment in "for(;;)" condition. r=brendan.
This commit is contained in:
@@ -2106,7 +2106,7 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb, JSOp nextop)
|
|||||||
if (cond != tail) {
|
if (cond != tail) {
|
||||||
/* Decompile the loop condition. */
|
/* Decompile the loop condition. */
|
||||||
DECOMPILE_CODE(pc + cond, tail - cond);
|
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. */
|
/* Need a semicolon whether or not there was a cond. */
|
||||||
|
|||||||
Reference in New Issue
Block a user