MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / luaK_patchlist

Function luaK_patchlist

deps/lua/src/lcode.c:169–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

whilestatFunction · 0.85
repeatstatFunction · 0.85
forbodyFunction · 0.85

Calls 2

luaK_patchtohereFunction · 0.85
patchlistauxFunction · 0.85

Tested by

no test coverage detected