MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / growCI

Function growCI

deps/lua/src/ldo.c:169–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167
168
169static CallInfo *growCI (lua_State *L) {
170 if (L->size_ci > LUAI_MAXCALLS) /* overflow while handling overflow? */
171 luaD_throw(L, LUA_ERRERR);
172 else {
173 luaD_reallocCI(L, 2*L->size_ci);
174 if (L->size_ci > LUAI_MAXCALLS)
175 luaG_runerror(L, "stack overflow");
176 }
177 return ++L->ci;
178}
179
180
181void luaD_callhook (lua_State *L, int event, int line) {

Callers

nothing calls this directly

Calls 3

luaD_throwFunction · 0.85
luaD_reallocCIFunction · 0.85
luaG_runerrorFunction · 0.85

Tested by

no test coverage detected