MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / luaK_exp2val

Function luaK_exp2val

lib/lua/src/lcode.c:987–992  ·  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

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

Callers 1

yindexFunction · 0.85

Calls 2

luaK_exp2anyregFunction · 0.85
luaK_dischargevarsFunction · 0.85

Tested by

no test coverage detected