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

Function luaK_reserveregs

third-party/lua-5.4.6/src/lcode.c:481–484  ·  view source on GitHub ↗

** Reserve 'n' registers in register stack */

Source from the content-addressed store, hash-verified

479** Reserve 'n' registers in register stack
480*/
481void luaK_reserveregs (FuncState *fs, int n) {
482 luaK_checkstack(fs, n);
483 fs->freereg += n;
484}
485
486
487/*

Callers 10

adjust_assignFunction · 0.70
constructorFunction · 0.70
parlistFunction · 0.70
check_conflictFunction · 0.70
forbodyFunction · 0.70
fornumFunction · 0.70
luaK_setreturnsFunction · 0.70
discharge2anyregFunction · 0.70
luaK_exp2nextregFunction · 0.70
luaK_selfFunction · 0.70

Calls 1

luaK_checkstackFunction · 0.70

Tested by

no test coverage detected