diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-10-31 15:54:35 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-10-31 15:54:35 -0200 |
commit | c5482468fde11c6c169da3b331a0653455f8fc94 (patch) | |
tree | 2a48592c73f5a94f1615793d66cb7fcf1c5b8946 /lstate.h | |
parent | ad5dcdcf0f1e139c8cc5b1aafd11db69f54010de (diff) | |
download | lua-c5482468fde11c6c169da3b331a0653455f8fc94.tar.gz lua-c5482468fde11c6c169da3b331a0653455f8fc94.tar.bz2 lua-c5482468fde11c6c169da3b331a0653455f8fc94.zip |
baby steps to remove 'CallInfo': keeping 'L->func' correct
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 2.143 2017/06/12 14:21:44 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.144 2017/07/27 13:50:16 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 | */ |
@@ -192,6 +192,7 @@ struct lua_State { | |||
192 | StkId top; /* first free slot in the stack */ | 192 | StkId top; /* first free slot in the stack */ |
193 | global_State *l_G; | 193 | global_State *l_G; |
194 | CallInfo *ci; /* call info for current function */ | 194 | CallInfo *ci; /* call info for current function */ |
195 | StkId func; /* current function */ | ||
195 | const Instruction *oldpc; /* last pc traced */ | 196 | const Instruction *oldpc; /* last pc traced */ |
196 | StkId stack_last; /* last free slot in the stack */ | 197 | StkId stack_last; /* last free slot in the stack */ |
197 | StkId stack; /* stack base */ | 198 | StkId stack; /* stack base */ |