Define CFRAME structure for x64 interpreter.

This commit is contained in:
Mike Pall
2009-12-28 23:45:32 +01:00
parent 61abf342a3
commit 8a9cfa4b45
3 changed files with 35 additions and 14 deletions

View File

@@ -572,7 +572,7 @@ void * LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr)
/* Restore interpreter state. */
lj_snap_restore(J, exptr);
cf = cframe_raw(L->cframe);
cframe_pc(cf) = J->pc;
setcframe_pc(cf, J->pc);
lj_vmevent_send(L, TEXIT,
ExitState *ex = (ExitState *)exptr;