summaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-07-15 14:26:14 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-07-15 14:26:14 -0300
commitf76f4cb79d84af4a7be9e0d75553bbe05a3ae90c (patch)
treedd9d1f8f3fb8c69f7617fe5688d7b1178bb7190e /lstate.h
parentabb85fc059a5d6427b9dc36edee1619f2c7a1da8 (diff)
downloadlua-f76f4cb79d84af4a7be9e0d75553bbe05a3ae90c.tar.gz
lua-f76f4cb79d84af4a7be9e0d75553bbe05a3ae90c.tar.bz2
lua-f76f4cb79d84af4a7be9e0d75553bbe05a3ae90c.zip
new way to control stack overflow, controling only total size of the stack
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index 783e51cf..2ddffaf1 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.44 2009/06/01 19:09:26 roberto Exp roberto $ 2** $Id: lstate.h,v 2.45 2009/06/18 18:59:18 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*/
@@ -163,7 +163,6 @@ struct lua_State {
163 StkId top; /* first free slot in the stack */ 163 StkId top; /* first free slot in the stack */
164 global_State *l_G; 164 global_State *l_G;
165 CallInfo *ci; /* call info for current function */ 165 CallInfo *ci; /* call info for current function */
166 int nci; /* number of total CallInfo structures linked */
167 const Instruction *oldpc; /* last pc traced */ 166 const Instruction *oldpc; /* last pc traced */
168 StkId stack_last; /* last free slot in the stack */ 167 StkId stack_last; /* last free slot in the stack */
169 StkId stack; /* stack base */ 168 StkId stack; /* stack base */