MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / luaK_patchlist

Function luaK_patchlist

src/Chain/libraries/glua/lcode.cpp:186–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184
185
186void luaK_patchlist(FuncState *fs, int list, int target) {
187 if (target == fs->pc)
188 luaK_patchtohere(fs, list);
189 else {
190 lua_assert(target < fs->pc);
191 patchlistaux(fs, list, target, NO_REG, target);
192 }
193}
194
195
196void luaK_patchclose(FuncState *fs, int list, int level) {

Callers 3

closegotoFunction · 0.85
repeatstatFunction · 0.85
forbodyFunction · 0.85

Calls 2

luaK_patchtohereFunction · 0.85
patchlistauxFunction · 0.85

Tested by

no test coverage detected