MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / patchlistaux

Function patchlistaux

Source/Misc/lua/src/lua.c:3819–3829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3817
3818
3819static void patchlistaux (FuncState *fs, int list, int vtarget, int reg,
3820int dtarget) {
3821while (list != NO_JUMP) {
3822int next = getjump(fs, list);
3823if (patchtestreg(fs, list, reg))
3824fixjump(fs, list, vtarget);
3825else
3826fixjump(fs, list, dtarget); /* jump to default target */
3827list = next;
3828}
3829}
3830
3831
3832static 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