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

Function luaK_patchlist

src/lcode.cpp:308–311  ·  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

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

Callers 4

luaK_patchtohereFunction · 0.85
closegotoFunction · 0.85
switchimplFunction · 0.85
repeatstatFunction · 0.85

Calls 1

patchlistauxFunction · 0.85

Tested by

no test coverage detected