diff options
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.47 2009/10/23 19:12:19 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.48 2009/11/18 13:13:47 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,7 +80,6 @@ typedef struct CallInfo { | |||
80 | struct { /* only for Lua functions */ | 80 | struct { /* only for Lua functions */ |
81 | StkId base; /* base for this function */ | 81 | StkId base; /* base for this function */ |
82 | const Instruction *savedpc; | 82 | const Instruction *savedpc; |
83 | int tailcalls; /* number of tail calls lost under this entry */ | ||
84 | } l; | 83 | } l; |
85 | struct { /* only for C functions */ | 84 | struct { /* only for C functions */ |
86 | int ctx; /* context info. in case of yields */ | 85 | int ctx; /* context info. in case of yields */ |
@@ -104,6 +103,7 @@ typedef struct CallInfo { | |||
104 | #define CIST_YIELDED (1<<3) /* call reentered after suspension */ | 103 | #define CIST_YIELDED (1<<3) /* call reentered after suspension */ |
105 | #define CIST_YPCALL (1<<4) /* call is a yieldable protected call */ | 104 | #define CIST_YPCALL (1<<4) /* call is a yieldable protected call */ |
106 | #define CIST_STAT (1<<5) /* call has an error status (pcall) */ | 105 | #define CIST_STAT (1<<5) /* call has an error status (pcall) */ |
106 | #define CIST_TAIL (1<<6) /* call was tail called */ | ||
107 | 107 | ||
108 | 108 | ||
109 | #define curr_func(L) (clvalue(L->ci->func)) | 109 | #define curr_func(L) (clvalue(L->ci->func)) |