mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
Account for the block depth. bug 349482, r=brendan
This commit is contained in:
parent
59dda26d22
commit
bd86d8b207
@ -1450,7 +1450,7 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
|
||||
LOCAL_ASSERT(*pc == JSOP_SETLOCALPOP);
|
||||
i = GET_UINT16(pc);
|
||||
pc += JSOP_SETLOCALPOP_LENGTH;
|
||||
str = ATOM_TO_STRING(atomv[i]);
|
||||
str = ATOM_TO_STRING(atomv[i - OBJ_BLOCK_DEPTH(cx, obj)]);
|
||||
rval = QuoteString(&ss->sprinter, str, 0);
|
||||
if (!rval) {
|
||||
ok = JS_FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user