aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2026-06-03 11:58:39 -0300
committerRoberto I <roberto@inf.puc-rio.br>2026-06-03 11:58:39 -0300
commit40b76de2d77e66b70a9d4bf989c3f5340919973f (patch)
tree8fa480c3e0e68d115d24481d1684ee05cce3005b
parent0465c23b3ee214ea3a117ab9d69a83cf85e7a82f (diff)
downloadlua-40b76de2d77e66b70a9d4bf989c3f5340919973f.tar.gz
lua-40b76de2d77e66b70a9d4bf989c3f5340919973f.tar.bz2
lua-40b76de2d77e66b70a9d4bf989c3f5340919973f.zip
Removed unused function 'luaD_inctop'HEADmaster
Commit 3228a97 removed all its uses.
-rw-r--r--ldo.c6
-rw-r--r--ldo.h1
2 files changed, 0 insertions, 7 deletions
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) {
430 luaE_shrinkCI(L); /* shrink CI list */ 430 luaE_shrinkCI(L); /* shrink CI list */
431} 431}
432 432
433
434void luaD_inctop (lua_State *L) {
435 L->top.p++;
436 luaD_checkstack(L, 1);
437}
438
439/* }================================================================== */ 433/* }================================================================== */
440 434
441 435
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);
88LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int raiseerror); 88LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int raiseerror);
89LUAI_FUNC int luaD_growstack (lua_State *L, int n, int raiseerror); 89LUAI_FUNC int luaD_growstack (lua_State *L, int n, int raiseerror);
90LUAI_FUNC void luaD_shrinkstack (lua_State *L); 90LUAI_FUNC void luaD_shrinkstack (lua_State *L);
91LUAI_FUNC void luaD_inctop (lua_State *L);
92LUAI_FUNC int luaD_checkminstack (lua_State *L); 91LUAI_FUNC int luaD_checkminstack (lua_State *L);
93LUAI_FUNC void luaD_anchorobj (lua_State *L, Table *anchor, GCObject *obj); 92LUAI_FUNC void luaD_anchorobj (lua_State *L, Table *anchor, GCObject *obj);
94 93