** Negate condition 'e' (where 'e' is a comparison). */
| 823 | ** Negate condition 'e' (where 'e' is a comparison). |
| 824 | */ |
| 825 | static void negatecondition (FuncState *fs, expdesc *e) { |
| 826 | Instruction *pc = getjumpcontrol(fs, e->u.info); |
| 827 | lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && |
| 828 | GET_OPCODE(*pc) != OP_TEST); |
| 829 | SETARG_A(*pc, !(GETARG_A(*pc))); |
| 830 | } |
| 831 | |
| 832 | |
| 833 | /* |
no test coverage detected