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

Function luaK_exp2val

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

** Ensures final expression result is either in a register or it is ** a constant. */

Source from the content-addressed store, hash-verified

749** a constant.
750*/
751void luaK_exp2val (FuncState *fs, expdesc *e) {
752 if (hasjumps(e))
753 luaK_exp2anyreg(fs, e);
754 else
755 luaK_dischargevars(fs, e);
756}
757
758
759/*

Callers 3

yindexFunction · 0.85
luaK_exp2RKFunction · 0.85
luaK_posfixFunction · 0.85

Calls 2

luaK_exp2anyregFunction · 0.85
luaK_dischargevarsFunction · 0.85

Tested by

no test coverage detected