Retract to left-most operand for JSOP_ARRAYPUSH (349648, r=mrbkap/sayrer).

This commit is contained in:
brendan%mozilla.org 2006-08-27 15:57:32 +00:00
parent 29dc283052
commit af66a4d87a

View File

@ -1628,7 +1628,7 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
LOCAL_ASSERT(pos < ss->top);
xval = OFF2STR(&ss->sprinter, ss->offsets[pos]);
lval = OFF2STR(&ss->sprinter, start);
RETRACT(&ss->sprinter, xval);
RETRACT(&ss->sprinter, lval);
todo = Sprint(&ss->sprinter, "%s%s%.*s",
lval, rval, rval - xval, xval);
if (todo < 0)