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

Function luaK_patchtohere

third-party/lua-5.4.6/src/lcode.c:313–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311
312
313void luaK_patchtohere (FuncState *fs, int list) {
314 int hr = luaK_getlabel(fs); /* mark "here" as a jump target */
315 luaK_patchlist(fs, list, hr);
316}
317
318
319/* limit for difference between lines in relative line info. */

Callers 7

whilestatFunction · 0.70
repeatstatFunction · 0.70
test_then_blockFunction · 0.70
ifstatFunction · 0.70
exp2regFunction · 0.70
luaK_goiftrueFunction · 0.70
luaK_goiffalseFunction · 0.70

Calls 2

luaK_getlabelFunction · 0.70
luaK_patchlistFunction · 0.70

Tested by 1

test_then_blockFunction · 0.56