diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-06 14:36:52 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-06 14:36:52 -0300 |
commit | d615e78e08201906e2f1dfc054b080fbbf7db428 (patch) | |
tree | bc5e815f32ef1c49cb6f4c5a9fb1786365258d54 /lparser.h | |
parent | c6965ce551ec8097dcaa3ed066fa12011857d42a (diff) | |
download | lua-d615e78e08201906e2f1dfc054b080fbbf7db428.tar.gz lua-d615e78e08201906e2f1dfc054b080fbbf7db428.tar.bz2 lua-d615e78e08201906e2f1dfc054b080fbbf7db428.zip |
new optimization: jumps to jumps
Diffstat (limited to 'lparser.h')
-rw-r--r-- | lparser.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.h,v 1.14 2000/03/24 17:26:08 roberto Exp roberto $ | 2 | ** $Id: lparser.h,v 1.15 2000/04/05 17:51:58 roberto Exp roberto $ |
3 | ** LL(1) Parser and code generator for Lua | 3 | ** LL(1) Parser and code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -43,6 +43,7 @@ typedef struct FuncState { | |||
43 | struct lua_State *L; /* copy of the Lua state */ | 43 | struct lua_State *L; /* copy of the Lua state */ |
44 | int pc; /* next position to code */ | 44 | int pc; /* next position to code */ |
45 | int lasttarget; /* `pc' of last `jump target' */ | 45 | int lasttarget; /* `pc' of last `jump target' */ |
46 | int jlt; /* list of jumps to `lasttarged' */ | ||
46 | int stacklevel; /* number of values on activation register */ | 47 | int stacklevel; /* number of values on activation register */ |
47 | int nlocalvar; /* number of active local variables */ | 48 | int nlocalvar; /* number of active local variables */ |
48 | int nupvalues; /* number of upvalues */ | 49 | int nupvalues; /* number of upvalues */ |