mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Fix decompilation of postfix ++ and -- on block-local names (349633, r=shaver).
This commit is contained in:
parent
3fedcd6344
commit
85280bffd9
@ -2198,11 +2198,10 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
|
||||
lval = QuoteString(&ss->sprinter, ATOM_TO_STRING(atom), 0);
|
||||
if (!lval)
|
||||
return JS_FALSE;
|
||||
RETRACT(&ss->sprinter, lval);
|
||||
do_lvalinc:
|
||||
todo = STR2OFF(&ss->sprinter, lval);
|
||||
SprintPut(&ss->sprinter,
|
||||
js_incop_strs[!(cs->format & JOF_INC)],
|
||||
2);
|
||||
todo = Sprint(&ss->sprinter, ss_format,
|
||||
lval, js_incop_strs[!(cs->format & JOF_INC)]);
|
||||
break;
|
||||
|
||||
case JSOP_PROPINC:
|
||||
|
Loading…
Reference in New Issue
Block a user