Always do the JSOP_PUSHOBJ replacement magic, even if the current call op didn't push anything. bug 372563, r=igor

git-svn-id: svn://10.0.0.236/trunk@221752 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mrbkap%gmail.com 2007-03-11 19:28:54 +00:00
parent 7964e32d06
commit ed903f8362

View File

@ -4118,12 +4118,14 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
} else {
if (!PushOff(ss, todo, saveop))
return NULL;
if (cs->format & JOF_CALLOP) {
todo = Sprint(&ss->sprinter, "");
if (todo < 0 || !PushOff(ss, todo, saveop))
return NULL;
}
}
if (cs->format & JOF_CALLOP) {
todo = Sprint(&ss->sprinter, "");
if (todo < 0 || !PushOff(ss, todo, saveop))
return NULL;
}
pc += len;
}