MCPcopy Create free account
hub / github.com/DFHack/dfhack / dischargejpc

Function dischargejpc

depends/lua/src/lcode.c:242–245  ·  view source on GitHub ↗

** Ensure all pending jumps to current position are fixed (jumping ** to current position with no values) and reset list of pending ** jumps */

Source from the content-addressed store, hash-verified

240** jumps
241*/
242static void dischargejpc (FuncState *fs) {
243 patchlistaux(fs, fs->jpc, fs->pc, NO_REG, fs->pc);
244 fs->jpc = NO_JUMP;
245}
246
247
248/*

Callers 1

luaK_codeFunction · 0.85

Calls 1

patchlistauxFunction · 0.85

Tested by

no test coverage detected