MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / growCI

Function growCI

lua/ldo.c:170–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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