Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/KeyDB
/ luaK_reserveregs
Function
luaK_reserveregs
deps/lua/src/lcode.c:209–212 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
207
208
209
void luaK_reserveregs (FuncState *fs, int n) {
210
luaK_checkstack(fs, n);
211
fs->freereg += n;
212
}
213
214
215
static void freereg (FuncState *fs, int reg) {
Callers
10
adjust_assign
Function · 0.85
parlist
Function · 0.85
check_conflict
Function · 0.85
forbody
Function · 0.85
fornum
Function · 0.85
localfunc
Function · 0.85
luaK_setreturns
Function · 0.85
discharge2anyreg
Function · 0.85
luaK_exp2nextreg
Function · 0.85
luaK_self
Function · 0.85
Calls
1
luaK_checkstack
Function · 0.85
Tested by
no test coverage detected