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

Function filterpc

depends/lua/src/ldebug.c:376–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374
375
376static int filterpc (int pc, int jmptarget) {
377 if (pc < jmptarget) /* is code conditional (inside a jump)? */
378 return -1; /* cannot know who sets that register */
379 else return pc; /* current position sets that register */
380}
381
382
383/*

Callers 1

findsetregFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected