MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / luaK_exp2val

Function luaK_exp2val

3rd/lua-5.4.3/src/lcode.c:968–973  ·  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

966** or it is a constant.
967*/
968void luaK_exp2val (FuncState *fs, expdesc *e) {
969 if (hasjumps(e))
970 luaK_exp2anyreg(fs, e);
971 else
972 luaK_dischargevars(fs, e);
973}
974
975
976/*

Callers 1

yindexFunction · 0.85

Calls 2

luaK_exp2anyregFunction · 0.85
luaK_dischargevarsFunction · 0.85

Tested by

no test coverage detected