diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-02-27 08:52:30 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-02-27 08:52:30 -0300 |
commit | 92f6e0c1bfb27cad95d99e99912e2e0c509dcc30 (patch) | |
tree | 1ab713c16652a5a4e667457041ce7364256a6b2c /lstate.h | |
parent | 5cd99b82b7fc11c527929e5e95f03767f6432d8e (diff) | |
download | lua-92f6e0c1bfb27cad95d99e99912e2e0c509dcc30.tar.gz lua-92f6e0c1bfb27cad95d99e99912e2e0c509dcc30.tar.bz2 lua-92f6e0c1bfb27cad95d99e99912e2e0c509dcc30.zip |
no-nonsense debug information about tail calls
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.107 2002/11/22 18:01:46 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.108 2002/11/25 17:47:13 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 | */ |
@@ -80,6 +80,7 @@ typedef struct CallInfo { | |||
80 | struct { /* for Lua functions */ | 80 | struct { /* for Lua functions */ |
81 | const Instruction *savedpc; | 81 | const Instruction *savedpc; |
82 | const Instruction **pc; /* points to `pc' variable in `luaV_execute' */ | 82 | const Instruction **pc; /* points to `pc' variable in `luaV_execute' */ |
83 | int tailcalls; /* number of tail calls lost under this entry */ | ||
83 | } l; | 84 | } l; |
84 | struct { /* for C functions */ | 85 | struct { /* for C functions */ |
85 | int dummy; /* just to avoid an empty struct */ | 86 | int dummy; /* just to avoid an empty struct */ |