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

This commit is contained in:
mrbkap%gmail.com 2007-03-11 19:28:54 +00:00
Родитель 0b937be63d
Коммит 52736f4292
1 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@ -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;
}