| 5313 | |
| 5314 | |
| 5315 | static CallInfo *growCI (lua_State *L) { |
| 5316 | if (L->size_ci > LUAI_MAXCALLS) /* overflow while handling overflow? */ |
| 5317 | luaD_throw(L, LUA_ERRERR); |
| 5318 | else { |
| 5319 | luaD_reallocCI(L, 2*L->size_ci); |
| 5320 | if (L->size_ci > LUAI_MAXCALLS) |
| 5321 | luaG_runerror(L, "stack overflow"); |
| 5322 | } |
| 5323 | return ++L->ci; |
| 5324 | } |
| 5325 | |
| 5326 | |
| 5327 | void luaD_callhook (lua_State *L, int event, int line) { |
nothing calls this directly
no test coverage detected