MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / invertjump

Function invertjump

third-party/lua-5.2.4/src/lcode.c:598–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596
597
598static void invertjump (FuncState *fs, expdesc *e) {
599 Instruction *pc = getjumpcontrol(fs, e->u.info);
600 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET &&
601 GET_OPCODE(*pc) != OP_TEST);
602 SETARG_A(*pc, !(GETARG_A(*pc)));
603}
604
605
606static int jumponcond (FuncState *fs, expdesc *e, int cond) {

Callers 2

luaK_goiftrueFunction · 0.70
codenotFunction · 0.70

Calls 1

getjumpcontrolFunction · 0.70

Tested by

no test coverage detected