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

@@ -116,7 +116,7 @@ enum {
/* This definition must match with the *.dasc file(s). */
typedef struct {
lua_Number fpr[RID_NUM_FPR]; /* Floating-point registers. */
int32_t gpr[RID_NUM_GPR]; /* General-purpose registers. */
intptr_t gpr[RID_NUM_GPR]; /* General-purpose registers. */
int32_t spill[256]; /* Spill slots. */
} ExitState;