mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-04 16:15:25 +00:00
Fix @* decompilation (349956, r=shaver).
This commit is contained in:
parent
90bed94936
commit
b0bb6c32b2
@ -2886,7 +2886,12 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
|
||||
break;
|
||||
|
||||
case JSOP_ANYNAME:
|
||||
todo = SprintPut(&ss->sprinter, "*", 1);
|
||||
if (pc[JSOP_ANYNAME_LENGTH] == JSOP_TOATTRNAME) {
|
||||
len += JSOP_TOATTRNAME_LENGTH;
|
||||
todo = SprintPut(&ss->sprinter, "@*", 2);
|
||||
} else {
|
||||
todo = SprintPut(&ss->sprinter, "*", 1);
|
||||
}
|
||||
break;
|
||||
|
||||
BEGIN_LITOPX_CASE(JSOP_QNAMEPART)
|
||||
|
Loading…
Reference in New Issue
Block a user