MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaK_patchlist

Function luaK_patchlist

freebsd/contrib/openzfs/module/lua/lcode.c:167–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166
167void luaK_patchlist (FuncState *fs, int list, int target) {
168 if (target == fs->pc)
169 luaK_patchtohere(fs, list);
170 else {
171 lua_assert(target < fs->pc);
172 patchlistaux(fs, list, target, NO_REG, target);
173 }
174}
175
176
177LUAI_FUNC void luaK_patchclose (FuncState *fs, int list, int level) {

Callers 3

closegotoFunction · 0.70
repeatstatFunction · 0.70
forbodyFunction · 0.70

Calls 2

luaK_patchtohereFunction · 0.70
patchlistauxFunction · 0.70

Tested by

no test coverage detected