aboutsummaryrefslogtreecommitdiff
path: root/src/lj_dispatch.c
diff options
context:
space:
mode:
authorMike Pall <mike>2009-12-28 23:45:32 +0100
committerMike Pall <mike>2009-12-28 23:45:32 +0100
commit8a9cfa4b4592e50be1903b83d28c8ea2fbc4aa43 (patch)
treed6be9b432e6c1194cfbd9b83213defe4d73117ba /src/lj_dispatch.c
parent61abf342a3242d8f667eed2fd718dd1f170da7c0 (diff)
downloadluajit-8a9cfa4b4592e50be1903b83d28c8ea2fbc4aa43.tar.gz
luajit-8a9cfa4b4592e50be1903b83d28c8ea2fbc4aa43.tar.bz2
luajit-8a9cfa4b4592e50be1903b83d28c8ea2fbc4aa43.zip
Define CFRAME structure for x64 interpreter.
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 {