aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-06-27 15:01:57 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-06-27 15:01:57 -0300
commit6ac7219da31df0238dc33c2d4457f69bfe0c1e79 (patch)
treec9fc124ed998ea39a6222556bb581817791089de /ldebug.c
parent9904c253da9690728710082cfb94654709ab89e7 (diff)
downloadlua-6ac7219da31df0238dc33c2d4457f69bfe0c1e79.tar.gz
lua-6ac7219da31df0238dc33c2d4457f69bfe0c1e79.tar.bz2
lua-6ac7219da31df0238dc33c2d4457f69bfe0c1e79.zip
'isIT'/'isOT' turned from macros to functions
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldebug.c b/ldebug.c
index e199decf..202d6417 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -939,7 +939,7 @@ int luaG_traceexec (lua_State *L, const Instruction *pc) {
939 ci->callstatus &= ~CIST_HOOKYIELD; /* erase mark */ 939 ci->callstatus &= ~CIST_HOOKYIELD; /* erase mark */
940 return 1; /* do not call hook again (VM yielded, so it did not move) */ 940 return 1; /* do not call hook again (VM yielded, so it did not move) */
941 } 941 }
942 if (!isIT(*(ci->u.l.savedpc - 1))) /* top not being used? */ 942 if (!luaP_isIT(*(ci->u.l.savedpc - 1))) /* top not being used? */
943 L->top.p = ci->top.p; /* correct top */ 943 L->top.p = ci->top.p; /* correct top */
944 if (counthook) 944 if (counthook)
945 luaD_hook(L, LUA_HOOKCOUNT, -1, 0, 0); /* call count hook */ 945 luaD_hook(L, LUA_HOOKCOUNT, -1, 0, 0); /* call count hook */