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

Function luaK_exp2nextreg

third-party/lua-5.5.0/src/lcode.c:999–1004  ·  view source on GitHub ↗

** Ensures final expression result is in next available register. */

Source from the content-addressed store, hash-verified

997** Ensures final expression result is in next available register.
998*/
999void luaK_exp2nextreg (FuncState *fs, expdesc *e) {
1000 luaK_dischargevars(fs, e);
1001 freeexp(fs, e);
1002 luaK_reserveregs(fs, 1);
1003 exp2reg(fs, e, fs->freereg - 1);
1004}
1005
1006
1007/*

Callers 12

adjust_assignFunction · 0.70
codeclosureFunction · 0.70
closelistfieldFunction · 0.70
lastlistfieldFunction · 0.70
explistFunction · 0.70
funcargsFunction · 0.70
suffixedexpFunction · 0.70
exp1Function · 0.70
retstatFunction · 0.70
luaK_exp2anyregFunction · 0.70
luaK_infixFunction · 0.70
luaK_posfixFunction · 0.70

Calls 4

luaK_dischargevarsFunction · 0.70
freeexpFunction · 0.70
luaK_reserveregsFunction · 0.70
exp2regFunction · 0.70

Tested by

no test coverage detected