bug=421274 follow up to fix issues with 64 bit

This commit is contained in:
igor@mir2.org 2008-03-13 10:29:40 -07:00
Родитель 5223033580
Коммит f3bb9639ea
1 изменённых файлов: 4 добавлений и 2 удалений

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

@ -2877,9 +2877,11 @@ interrupt:
js_SetVersion(cx, currentVersion);
}
/* Store the return value in the caller's operand frame. */
/* Restore caller's registers. */
regs = ifp->callerRegs;
regs.sp += 1 - 2 - ifp->frame.argc;
/* Store the return value in the caller's operand frame. */
regs.sp -= (ptrdiff_t) (1 + ifp->frame.argc);
regs.sp[-1] = fp->rval;
/* Restore cx->fp and release the inline frame's space. */