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

Function luaK_exp2val

third-party/lua-5.4.6/src/lcode.c:988–993  ·  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

986** or it is a constant.
987*/
988void luaK_exp2val (FuncState *fs, expdesc *e) {
989 if (e->k == VJMP || hasjumps(e))
990 luaK_exp2anyreg(fs, e);
991 else
992 luaK_dischargevars(fs, e);
993}
994
995
996/*

Callers 1

yindexFunction · 0.70

Calls 2

luaK_exp2anyregFunction · 0.70
luaK_dischargevarsFunction · 0.70

Tested by

no test coverage detected