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

Function luaK_jump

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

Source from the content-addressed store, hash-verified

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

Callers 6

leaveblockFunction · 0.70
forbodyFunction · 0.70
test_then_blockFunction · 0.70
statementFunction · 0.70
condjumpFunction · 0.70
exp2regFunction · 0.70

Calls 1

luaK_concatFunction · 0.70

Tested by 1

test_then_blockFunction · 0.56