diff --git a/ldo.c b/ldo.c index 1f18b186..fe8bf20f 100644 --- a/ldo.c +++ b/ldo.c @@ -430,12 +430,6 @@ void luaD_shrinkstack (lua_State *L) { luaE_shrinkCI(L); /* shrink CI list */ } - -void luaD_inctop (lua_State *L) { - L->top.p++; - luaD_checkstack(L, 1); -} - /* }================================================================== */ diff --git a/ldo.h b/ldo.h index 2b3b0db4..85a00e38 100644 --- a/ldo.h +++ b/ldo.h @@ -88,7 +88,6 @@ LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, int nres); LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int raiseerror); LUAI_FUNC int luaD_growstack (lua_State *L, int n, int raiseerror); LUAI_FUNC void luaD_shrinkstack (lua_State *L); -LUAI_FUNC void luaD_inctop (lua_State *L); LUAI_FUNC int luaD_checkminstack (lua_State *L); LUAI_FUNC void luaD_anchorobj (lua_State *L, Table *anchor, GCObject *obj);