MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / luaK_patchtohere

Function luaK_patchtohere

src/lcode.cpp: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 15

exp2regFunction · 0.85
luaK_goiftrueFunction · 0.85
luaK_goiffalseFunction · 0.85
luaK_posfixFunction · 0.85
statlistFunction · 0.85
defaultargumentsFunction · 0.85
method_call_funcargsFunction · 0.85
safe_navigationFunction · 0.85
ifexprFunction · 0.85
switchimplFunction · 0.85
exprFunction · 0.85
whilestatFunction · 0.85

Calls 2

luaK_getlabelFunction · 0.85
luaK_patchlistFunction · 0.85

Tested by 1

test_then_blockFunction · 0.68