MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / patchlistaux

Function patchlistaux

ThirdParty/lua/lua/lcode.c:167–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166
167static void patchlistaux (FuncState *fs, int list, int vtarget, int reg,
168 int dtarget) {
169 while (list != NO_JUMP) {
170 int next = getjump(fs, list);
171 if (patchtestreg(fs, list, reg))
172 fixjump(fs, list, vtarget);
173 else
174 fixjump(fs, list, dtarget); /* jump to default target */
175 list = next;
176 }
177}
178
179
180static void dischargejpc (FuncState *fs) {

Callers 3

dischargejpcFunction · 0.85
luaK_patchlistFunction · 0.85
exp2regFunction · 0.85

Calls 3

getjumpFunction · 0.85
patchtestregFunction · 0.85
fixjumpFunction · 0.85

Tested by

no test coverage detected