From e01f5e680951a66bd67a22eeed1d9e05ab30b9f2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 8 Feb 2002 20:42:41 -0200 Subject: better order of record fields for 64-bit machines --- lparser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lparser.h') diff --git a/lparser.h b/lparser.h index 08e87454..5df59891 100644 --- a/lparser.h +++ b/lparser.h @@ -56,21 +56,21 @@ typedef struct expdesc { /* state needed to generate code for a given function */ typedef struct FuncState { Proto *f; /* current function header */ + Table *h; /* table to find (and reuse) elements in `k' */ struct FuncState *prev; /* enclosing function */ struct LexState *ls; /* lexical state */ struct lua_State *L; /* copy of the Lua state */ + struct Breaklabel *bl; /* chain of breakable blocks */ int pc; /* next position to code (equivalent to `ncode') */ int lasttarget; /* `pc' of last `jump target' */ int jlt; /* list of jumps to `lasttarget' */ int freereg; /* first free register */ int nk; /* number of elements in `k' */ - Table *h; /* table to find (and reuse) elements in `k' */ int np; /* number of elements in `p' */ int nlineinfo; /* number of elements in `lineinfo' */ int nlocvars; /* number of elements in `locvars' */ int nactloc; /* number of active local variables */ int lastline; /* line where last `lineinfo' was generated */ - struct Breaklabel *bl; /* chain of breakable blocks */ expdesc upvalues[MAXUPVALUES]; /* upvalues */ int actloc[MAXLOCALS]; /* local-variable stack (indices to locvars) */ unsigned int wasup[words2bits(MAXLOCALS)]; /* bit array to mark whether a -- cgit v1.2.3-55-g6feb