diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-21 13:16:04 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-21 13:16:04 -0200 |
commit | ddc144e4d297e5e008f5693a568a1c74ac3e4f54 (patch) | |
tree | 273211ca4e0add6f5aa9e28b494e94d3267fbcc3 /lstate.h | |
parent | b48c6e768035a44ced1af0affa4b8c0970f1bdfd (diff) | |
download | lua-ddc144e4d297e5e008f5693a568a1c74ac3e4f54.tar.gz lua-ddc144e4d297e5e008f5693a568a1c74ac3e4f54.tar.bz2 lua-ddc144e4d297e5e008f5693a568a1c74ac3e4f54.zip |
keep L->ci->base in L->base for faster access
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.102 2002/11/18 11:01:55 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.103 2002/11/18 15:23:43 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -131,6 +131,7 @@ typedef struct global_State { | |||
131 | struct lua_State { | 131 | struct lua_State { |
132 | CommonHeader; | 132 | CommonHeader; |
133 | StkId top; /* first free slot in the stack */ | 133 | StkId top; /* first free slot in the stack */ |
134 | StkId base; /* base of current function */ | ||
134 | global_State *l_G; | 135 | global_State *l_G; |
135 | CallInfo *ci; /* call info for current function */ | 136 | CallInfo *ci; /* call info for current function */ |
136 | StkId stack_last; /* last free slot in the stack */ | 137 | StkId stack_last; /* last free slot in the stack */ |