diff options
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.147 2017/11/03 12:12:30 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.148 2017/11/03 17:22:54 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 | */ |
@@ -81,14 +81,6 @@ typedef struct stringtable { | |||
81 | } stringtable; | 81 | } stringtable; |
82 | 82 | ||
83 | 83 | ||
84 | /* | ||
85 | ** Information about a call. | ||
86 | */ | ||
87 | typedef struct CallInfo { | ||
88 | StkId func; /* function index in the stack */ | ||
89 | struct CallInfo *previous, *next; /* dynamic call link */ | ||
90 | } CallInfo; | ||
91 | |||
92 | 84 | ||
93 | /* | 85 | /* |
94 | ** Bits in CallInfo status | 86 | ** Bits in CallInfo status |
@@ -170,7 +162,6 @@ struct lua_State { | |||
170 | lu_byte status; | 162 | lu_byte status; |
171 | StkId top; /* first free slot in the stack */ | 163 | StkId top; /* first free slot in the stack */ |
172 | global_State *l_G; | 164 | global_State *l_G; |
173 | CallInfo *ci; /* call info for current function */ | ||
174 | StkId func; /* current function */ | 165 | StkId func; /* current function */ |
175 | const Instruction *oldpc; /* last pc traced */ | 166 | const Instruction *oldpc; /* last pc traced */ |
176 | StkId stack_last; /* last free slot in the stack */ | 167 | StkId stack_last; /* last free slot in the stack */ |
@@ -179,7 +170,6 @@ struct lua_State { | |||
179 | GCObject *gclist; | 170 | GCObject *gclist; |
180 | struct lua_State *twups; /* list of threads with open upvalues */ | 171 | struct lua_State *twups; /* list of threads with open upvalues */ |
181 | struct lua_longjmp *errorJmp; /* current error recover point */ | 172 | struct lua_longjmp *errorJmp; /* current error recover point */ |
182 | CallInfo base_ci; /* CallInfo for first level (C calling Lua) */ | ||
183 | volatile lua_Hook hook; | 173 | volatile lua_Hook hook; |
184 | ptrdiff_t errfunc; /* current error handling function (stack index) */ | 174 | ptrdiff_t errfunc; /* current error handling function (stack index) */ |
185 | int stacksize; | 175 | int stacksize; |
@@ -235,9 +225,6 @@ union GCUnion { | |||
235 | 225 | ||
236 | LUAI_FUNC void luaE_setdebt (global_State *g, l_mem debt); | 226 | LUAI_FUNC void luaE_setdebt (global_State *g, l_mem debt); |
237 | LUAI_FUNC void luaE_freethread (lua_State *L, lua_State *L1); | 227 | LUAI_FUNC void luaE_freethread (lua_State *L, lua_State *L1); |
238 | LUAI_FUNC CallInfo *luaE_extendCI (lua_State *L); | ||
239 | LUAI_FUNC void luaE_freeCI (lua_State *L); | ||
240 | LUAI_FUNC void luaE_shrinkCI (lua_State *L); | ||
241 | 228 | ||
242 | 229 | ||
243 | #endif | 230 | #endif |