MCPcopy Create free account
hub / github.com/InoriRus/Kyty / luaK_jump

Function luaK_jump

source/3rdparty/lua/src/lcode.c:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58
59int luaK_jump (FuncState *fs) {
60 int jpc = fs->jpc; /* save list of jumps to here */
61 int j;
62 fs->jpc = NO_JUMP;
63 j = luaK_codeAsBx(fs, OP_JMP, 0, NO_JUMP);
64 luaK_concat(fs, &j, jpc); /* keep them on hold */
65 return j;
66}
67
68
69void luaK_ret (FuncState *fs, int first, int nret) {

Callers 6

leaveblockFunction · 0.85
forbodyFunction · 0.85
test_then_blockFunction · 0.85
statementFunction · 0.85
condjumpFunction · 0.85
exp2regFunction · 0.85

Calls 1

luaK_concatFunction · 0.85

Tested by 1

test_then_blockFunction · 0.68