From 92f6e0c1bfb27cad95d99e99912e2e0c509dcc30 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 27 Feb 2003 08:52:30 -0300 Subject: no-nonsense debug information about tail calls --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 2e184839..6f8e4e6c 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.107 2002/11/22 18:01:46 roberto Exp roberto $ +** $Id: lstate.h,v 1.108 2002/11/25 17:47:13 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -80,6 +80,7 @@ typedef struct CallInfo { struct { /* for Lua functions */ const Instruction *savedpc; const Instruction **pc; /* points to `pc' variable in `luaV_execute' */ + int tailcalls; /* number of tail calls lost under this entry */ } l; struct { /* for C functions */ int dummy; /* just to avoid an empty struct */ -- cgit v1.2.3-55-g6feb