PPC: Add support for shifted MULTRES.

This commit is contained in:
Mike Pall
2010-09-13 21:50:08 +02:00
parent 0001916f8d
commit 8a87395d8d
2 changed files with 6 additions and 1 deletions

View File

@@ -355,7 +355,7 @@ void LJ_FASTCALL lj_dispatch_ins(lua_State *L, const BCIns *pc)
global_State *g = G(L);
BCReg slots;
setcframe_pc(cf, pc);
slots = cur_topslot(pt, pc, cframe_multres(cf));
slots = cur_topslot(pt, pc, cframe_multres_n(cf));
L->top = L->base + slots; /* Fix top. */
#if LJ_HASJIT
{