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

Function removevalues

depends/lua/src/lcode.c:213–216  ·  view source on GitHub ↗

** Traverse a list of tests ensuring no one produces a value */

Source from the content-addressed store, hash-verified

211** Traverse a list of tests ensuring no one produces a value
212*/
213static void removevalues (FuncState *fs, int list) {
214 for (; list != NO_JUMP; list = getjump(fs, list))
215 patchtestreg(fs, list, NO_REG);
216}
217
218
219/*

Callers 1

codenotFunction · 0.85

Calls 2

getjumpFunction · 0.85
patchtestregFunction · 0.85

Tested by

no test coverage detected