diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2025-08-20 16:10:54 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2025-08-20 16:10:54 -0300 |
| commit | 06c5d3825f03eafc90b56d43f70f70048b785bc8 (patch) | |
| tree | 0b418c4a9ac5a53a6ca39bf258bb046de1fc6749 /lvm.c | |
| parent | c345877e4c2588324d9a1e5655e8f48200ba2e5e (diff) | |
| download | lua-06c5d3825f03eafc90b56d43f70f70048b785bc8.tar.gz lua-06c5d3825f03eafc90b56d43f70f70048b785bc8.tar.bz2 lua-06c5d3825f03eafc90b56d43f70f70048b785bc8.zip | |
Removed code for compatibility with version 5.3
Diffstat (limited to 'lvm.c')
| -rw-r--r-- | lvm.c | 6 |
1 files changed, 0 insertions, 6 deletions
| @@ -861,12 +861,6 @@ void luaV_finishOp (lua_State *L) { | |||
| 861 | case OP_EQ: { /* note that 'OP_EQI'/'OP_EQK' cannot yield */ | 861 | case OP_EQ: { /* note that 'OP_EQI'/'OP_EQK' cannot yield */ |
| 862 | int res = !l_isfalse(s2v(L->top.p - 1)); | 862 | int res = !l_isfalse(s2v(L->top.p - 1)); |
| 863 | L->top.p--; | 863 | L->top.p--; |
| 864 | #if defined(LUA_COMPAT_LT_LE) | ||
| 865 | if (ci->callstatus & CIST_LEQ) { /* "<=" using "<" instead? */ | ||
| 866 | ci->callstatus ^= CIST_LEQ; /* clear mark */ | ||
| 867 | res = !res; /* negate result */ | ||
| 868 | } | ||
| 869 | #endif | ||
| 870 | lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); | 864 | lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); |
| 871 | if (res != GETARG_k(inst)) /* condition failed? */ | 865 | if (res != GETARG_k(inst)) /* condition failed? */ |
| 872 | ci->u.l.savedpc++; /* skip jump instruction */ | 866 | ci->u.l.savedpc++; /* skip jump instruction */ |
