MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / invertjump

Function invertjump

Source/Misc/lua/src/lua.c:4185–4190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4183
4184
4185static void invertjump (FuncState *fs, expdesc *e) {
4186Instruction *pc = getjumpcontrol(fs, e->u.s.info);
4187lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET &&
4188GET_OPCODE(*pc) != OP_TEST);
4189SETARG_A(*pc, !(GETARG_A(*pc)));
4190}
4191
4192
4193static int jumponcond (FuncState *fs, expdesc *e, int cond) {

Callers 2

luaK_goiftrueFunction · 0.85
codenotFunction · 0.85

Calls 1

getjumpcontrolFunction · 0.85

Tested by

no test coverage detected