diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-27 15:01:57 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-27 15:01:57 -0300 |
| commit | 6ac7219da31df0238dc33c2d4457f69bfe0c1e79 (patch) | |
| tree | c9fc124ed998ea39a6222556bb581817791089de /ldebug.c | |
| parent | 9904c253da9690728710082cfb94654709ab89e7 (diff) | |
| download | lua-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 */ |
