MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / luaK_patchlist

Function luaK_patchlist

extlibs/lua/src/lcode.c:305–308  ·  view source on GitHub ↗

** Path all jumps in 'list' to jump to 'target'. ** (The assert means that we cannot fix a jump to a forward address ** because we only know addresses once code is generated.) */

Source from the content-addressed store, hash-verified

303** because we only know addresses once code is generated.)
304*/
305void luaK_patchlist (FuncState *fs, int list, int target) {
306 lua_assert(target <= fs->pc);
307 patchlistaux(fs, list, target, NO_REG, target);
308}
309
310
311void luaK_patchtohere (FuncState *fs, int list) {

Callers 5

solvegotoFunction · 0.85
gotostatFunction · 0.85
repeatstatFunction · 0.85
test_then_blockFunction · 0.85
luaK_patchtohereFunction · 0.85

Calls 1

patchlistauxFunction · 0.85

Tested by 1

test_then_blockFunction · 0.68