MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaK_exp2val

Function luaK_exp2val

third-party/lua-5.5.0/src/lcode.c:1043–1048  ·  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

1041** or it is a constant.
1042*/
1043void luaK_exp2val (FuncState *fs, expdesc *e) {
1044 if (e->k == VJMP || hasjumps(e))
1045 luaK_exp2anyreg(fs, e);
1046 else
1047 luaK_dischargevars(fs, e);
1048}
1049
1050
1051/*

Callers 1

yindexFunction · 0.70

Calls 2

luaK_exp2anyregFunction · 0.70
luaK_dischargevarsFunction · 0.70

Tested by

no test coverage detected