From ddc144e4d297e5e008f5693a568a1c74ac3e4f54 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 21 Nov 2002 13:16:04 -0200 Subject: keep L->ci->base in L->base for faster access --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 828c14b8..971349ea 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.102 2002/11/18 11:01:55 roberto Exp roberto $ +** $Id: lstate.h,v 1.103 2002/11/18 15:23:43 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -131,6 +131,7 @@ typedef struct global_State { struct lua_State { CommonHeader; StkId top; /* first free slot in the stack */ + StkId base; /* base of current function */ global_State *l_G; CallInfo *ci; /* call info for current function */ StkId stack_last; /* last free slot in the stack */ -- cgit v1.2.3-55-g6feb