summaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-11-21 13:16:04 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-11-21 13:16:04 -0200
commitddc144e4d297e5e008f5693a568a1c74ac3e4f54 (patch)
tree273211ca4e0add6f5aa9e28b494e94d3267fbcc3 /lstate.h
parentb48c6e768035a44ced1af0affa4b8c0970f1bdfd (diff)
downloadlua-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstate.h b/lstate.h
index 828c14b8..971349ea 100644
--- a/lstate.h
+++ b/lstate.h
@@ -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 {
131struct lua_State { 131struct 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 */