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

Function freeexp

depends/lua/src/lcode.c:397–400  ·  view source on GitHub ↗

** Free register used by expression 'e' (if any) */

Source from the content-addressed store, hash-verified

395** Free register used by expression 'e' (if any)
396*/
397static void freeexp (FuncState *fs, expdesc *e) {
398 if (e->k == VNONRELOC)
399 freereg(fs, e->u.info);
400}
401
402
403/*

Callers 7

luaK_exp2nextregFunction · 0.85
luaK_storevarFunction · 0.85
luaK_selfFunction · 0.85
jumponcondFunction · 0.85
codenotFunction · 0.85
codeunexpvalFunction · 0.85
luaK_posfixFunction · 0.85

Calls 1

freeregFunction · 0.85

Tested by

no test coverage detected