MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / freeexp

Function freeexp

libraries/AP_Scripting/lua/src/lcode.c:404–407  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

402** Free register used by expression 'e' (if any)
403*/
404static void freeexp (FuncState *fs, expdesc *e) {
405 if (e->k == VNONRELOC)
406 freereg(fs, e->u.info);
407}
408
409
410/*

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