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

Function luaK_patchlist

third-party/lua-5.4.6/src/lcode.c:307–310  ·  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

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

Callers 4

solvegotoFunction · 0.70
gotostatFunction · 0.70
repeatstatFunction · 0.70
luaK_patchtohereFunction · 0.70

Calls 1

patchlistauxFunction · 0.70

Tested by

no test coverage detected