MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / luaK_exp2val

Function luaK_exp2val

lua/src/lcode.c:986–991  ·  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

984** or it is a constant.
985*/
986void luaK_exp2val (FuncState *fs, expdesc *e) {
987 if (hasjumps(e))
988 luaK_exp2anyreg(fs, e);
989 else
990 luaK_dischargevars(fs, e);
991}
992
993
994/*

Callers 1

yindexFunction · 0.85

Calls 2

luaK_exp2anyregFunction · 0.85
luaK_dischargevarsFunction · 0.85

Tested by

no test coverage detected