MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / luaK_reserveregs

Function luaK_reserveregs

3rd/lua-5.4.3/src/lcode.c:479–482  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 10

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

Calls 1

luaK_checkstackFunction · 0.85

Tested by

no test coverage detected