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 /lvm.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 'lvm.c')
| -rw-r--r-- | lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1180,8 +1180,8 @@ void luaV_execute (lua_State *L, CallInfo *ci) { | |||
| 1180 | #endif | 1180 | #endif |
| 1181 | lua_assert(base == ci->func.p + 1); | 1181 | lua_assert(base == ci->func.p + 1); |
| 1182 | lua_assert(base <= L->top.p && L->top.p <= L->stack_last.p); | 1182 | lua_assert(base <= L->top.p && L->top.p <= L->stack_last.p); |
| 1183 | /* invalidate top for instructions not expecting it */ | 1183 | /* for tests, invalidate top for instructions not expecting it */ |
| 1184 | lua_assert(isIT(i) || (cast_void(L->top.p = base), 1)); | 1184 | lua_assert(luaP_isIT(i) || (cast_void(L->top.p = base), 1)); |
| 1185 | vmdispatch (GET_OPCODE(i)) { | 1185 | vmdispatch (GET_OPCODE(i)) { |
| 1186 | vmcase(OP_MOVE) { | 1186 | vmcase(OP_MOVE) { |
| 1187 | StkId ra = RA(i); | 1187 | StkId ra = RA(i); |
