** Negate condition 'e' (where 'e' is a comparison). */
| 830 | ** Negate condition 'e' (where 'e' is a comparison). |
| 831 | */ |
| 832 | static void negatecondition (FuncState *fs, expdesc *e) { |
| 833 | Instruction *pc = getjumpcontrol(fs, e->u.info); |
| 834 | lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && |
| 835 | GET_OPCODE(*pc) != OP_TEST); |
| 836 | SETARG_A(*pc, !(GETARG_A(*pc))); |
| 837 | } |
| 838 | |
| 839 | |
| 840 | /* |
no test coverage detected