From c5482468fde11c6c169da3b331a0653455f8fc94 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 31 Oct 2017 15:54:35 -0200 Subject: baby steps to remove 'CallInfo': keeping 'L->func' correct --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 5ccc4025..76ce110f 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.143 2017/06/12 14:21:44 roberto Exp roberto $ +** $Id: lstate.h,v 2.144 2017/07/27 13:50:16 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -192,6 +192,7 @@ struct lua_State { StkId top; /* first free slot in the stack */ global_State *l_G; CallInfo *ci; /* call info for current function */ + StkId func; /* current function */ const Instruction *oldpc; /* last pc traced */ StkId stack_last; /* last free slot in the stack */ StkId stack; /* stack base */ -- cgit v1.2.3-55-g6feb