MCPcopy Create free account
hub / github.com/axmolengine/axmol / luaK_patchtohere

Function luaK_patchtohere

3rdparty/lua/plainlua/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.85
repeatstatFunction · 0.85
test_then_blockFunction · 0.85
ifstatFunction · 0.85
exp2regFunction · 0.85
luaK_goiftrueFunction · 0.85
luaK_goiffalseFunction · 0.85

Calls 2

luaK_getlabelFunction · 0.85
luaK_patchlistFunction · 0.85

Tested by 1

test_then_blockFunction · 0.68