aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-11-02 09:43:17 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-11-02 09:43:17 -0200
commit07a2dcacbfb8f9a2332da19b5c5a178e87d7af21 (patch)
tree4703c1757e623f52b3fc800ce7ba08342520d655 /lstate.h
parentc874abac98b4bbd73603c599bc8096ac800e1184 (diff)
downloadlua-07a2dcacbfb8f9a2332da19b5c5a178e87d7af21.tar.gz
lua-07a2dcacbfb8f9a2332da19b5c5a178e87d7af21.tar.bz2
lua-07a2dcacbfb8f9a2332da19b5c5a178e87d7af21.zip
flag CIST_REENTRY changed to CIST_FRESH (its negation); fresh invocations
seem to be less frequent than reentries. (So, avoid setting flag on the frequent case.)
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lstate.h b/lstate.h
index 33351ca3..b5ecdb3c 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.124 2015/09/08 15:41:05 roberto Exp roberto $ 2** $Id: lstate.h,v 2.125 2015/09/22 14:18:24 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*/
@@ -89,8 +89,8 @@ typedef struct CallInfo {
89#define CIST_OAH (1<<0) /* original value of 'allowhook' */ 89#define CIST_OAH (1<<0) /* original value of 'allowhook' */
90#define CIST_LUA (1<<1) /* call is running a Lua function */ 90#define CIST_LUA (1<<1) /* call is running a Lua function */
91#define CIST_HOOKED (1<<2) /* call is running a debug hook */ 91#define CIST_HOOKED (1<<2) /* call is running a debug hook */
92#define CIST_REENTRY (1<<3) /* call is running on same invocation of 92#define CIST_FRESH (1<<3) /* call is running on a fresh invocation
93 luaV_execute of previous call */ 93 of luaV_execute */
94#define CIST_YPCALL (1<<4) /* call is a yieldable protected call */ 94#define CIST_YPCALL (1<<4) /* call is a yieldable protected call */
95#define CIST_TAIL (1<<5) /* call was tail called */ 95#define CIST_TAIL (1<<5) /* call was tail called */
96#define CIST_HOOKYIELD (1<<6) /* last hook called yielded */ 96#define CIST_HOOKYIELD (1<<6) /* last hook called yielded */