MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / invertjump

Function invertjump

ThirdParty/lua/lua/lcode.c:631–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629
630
631static void invertjump (FuncState *fs, expdesc *e) {
632 Instruction *pc = getjumpcontrol(fs, e->u.info);
633 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET &&
634 GET_OPCODE(*pc) != OP_TEST);
635 SETARG_A(*pc, !(GETARG_A(*pc)));
636}
637
638
639static 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