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

Function luaK_patchtohere

third-party/lua-5.5.0/src/lcode.c:314–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312
313
314void luaK_patchtohere (FuncState *fs, int list) {
315 int hr = luaK_getlabel(fs); /* mark "here" as a jump target */
316 luaK_patchlist(fs, list, hr);
317}
318
319
320/* 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