Fix exit state for 64 bit mode.

This commit is contained in:
Mike Pall
2010-02-24 01:18:49 +01:00
parent 8ae2f9feaa
commit 857f538eac
3 changed files with 24 additions and 9 deletions

View File

@@ -636,7 +636,7 @@ int LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr)
setintV(L->top++, RID_NUM_GPR);
setintV(L->top++, RID_NUM_FPR);
for (i = 0; i < RID_NUM_GPR; i++)
setintV(L->top++, ex->gpr[i]);
setnumV(L->top++, cast_num(ex->gpr[i]));
for (i = 0; i < RID_NUM_FPR; i++) {
setnumV(L->top, ex->fpr[i]);
if (LJ_UNLIKELY(tvisnan(L->top)))