diff options
Diffstat (limited to '')
| -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 */ |
