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

Function luaK_patchtohere

third-party/lua-5.3.5/src/lcode.c:252–255  ·  view source on GitHub ↗

** Add elements in 'list' to list of pending jumps to "here" ** (current position) */

Source from the content-addressed store, hash-verified

250** (current position)
251*/
252void luaK_patchtohere (FuncState *fs, int list) {
253 luaK_getlabel(fs); /* mark "here" as a jump target */
254 luaK_concat(fs, &fs->jpc, list);
255}
256
257
258/*

Callers 9

leaveblockFunction · 0.70
whilestatFunction · 0.70
forbodyFunction · 0.70
test_then_blockFunction · 0.70
ifstatFunction · 0.70
luaK_patchlistFunction · 0.70
exp2regFunction · 0.70
luaK_goiftrueFunction · 0.70
luaK_goiffalseFunction · 0.70

Calls 2

luaK_getlabelFunction · 0.70
luaK_concatFunction · 0.70

Tested by 1

test_then_blockFunction · 0.56