MCPcopy Create free account
hub / github.com/F-Stack/f-stack / invertjump

Function invertjump

freebsd/contrib/openzfs/module/lua/lcode.c:596–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594
595
596static void invertjump (FuncState *fs, expdesc *e) {
597 Instruction *pc = getjumpcontrol(fs, e->u.info);
598 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET &&
599 GET_OPCODE(*pc) != OP_TEST);
600 SETARG_A(*pc, !(GETARG_A(*pc)));
601}
602
603
604static 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