From d1ef7e0ec6f0b3c40a4abedb3f79a3eaabe01631 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 19 Sep 2006 10:57:50 -0300 Subject: avoid local "pc" in interpreter loop (tricky optimization with no real gain) --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index d96e7b3b..9d4f0887 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.25 2006/07/11 15:53:29 roberto Exp $ +** $Id: lstate.h,v 2.26 2006/08/15 19:59:20 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -107,6 +107,7 @@ struct lua_State { global_State *l_G; CallInfo *ci; /* call info for current function */ const Instruction *savedpc; /* `savedpc' of current function */ + const Instruction *oldpc; /* last pc traced */ StkId stack_last; /* last free slot in the stack */ StkId stack; /* stack base */ CallInfo *end_ci; /* points after end of ci array*/ -- cgit v1.2.3-55-g6feb