summaryrefslogtreecommitdiff
path: root/src/lj_dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_dispatch.c')
-rw-r--r--src/lj_dispatch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lj_dispatch.c b/src/lj_dispatch.c
index b427a06e..3ce09371 100644
--- a/src/lj_dispatch.c
+++ b/src/lj_dispatch.c
@@ -264,8 +264,9 @@ void lj_dispatch_ins(lua_State *L, const BCIns *pc, uint32_t nres)
264 GCproto *pt = funcproto(fn); 264 GCproto *pt = funcproto(fn);
265 BCReg slots = cur_topslot(pt, pc, nres); 265 BCReg slots = cur_topslot(pt, pc, nres);
266 global_State *g = G(L); 266 global_State *g = G(L);
267 const BCIns *oldpc = cframe_Lpc(L); 267 void *cf = cframe_raw(L->cframe);
268 cframe_Lpc(L) = pc; 268 const BCIns *oldpc = cframe_pc(cf);
269 setcframe_pc(cf, pc);
269 L->top = L->base + slots; /* Fix top. */ 270 L->top = L->base + slots; /* Fix top. */
270#if LJ_HASJIT 271#if LJ_HASJIT
271 { 272 {