aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2026-04-29 15:17:55 -0300
committerRoberto I <roberto@inf.puc-rio.br>2026-04-29 15:17:55 -0300
commit36c1f6d949a4d3dfcbe898d80b1be1efe8e5325c (patch)
tree97be3c3d0a6ada29108724da4138018aea168035
parent0da6d320f757bc9241a33df06f3597598845cf0a (diff)
downloadlua-36c1f6d949a4d3dfcbe898d80b1be1efe8e5325c.tar.gz
lua-36c1f6d949a4d3dfcbe898d80b1be1efe8e5325c.tar.bz2
lua-36c1f6d949a4d3dfcbe898d80b1be1efe8e5325c.zip
Small correction in luaP_opmodes
OP_VARARGPREP neither sets nor uses L->top.
-rw-r--r--lopcodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lopcodes.c b/lopcodes.c
index c4828bfc..da64ff18 100644
--- a/lopcodes.c
+++ b/lopcodes.c
@@ -104,7 +104,7 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = {
104 ,opmode(0, 1, 0, 0, 1, iABC) /* OP_VARARG */ 104 ,opmode(0, 1, 0, 0, 1, iABC) /* OP_VARARG */
105 ,opmode(0, 0, 0, 0, 1, iABC) /* OP_GETVARG */ 105 ,opmode(0, 0, 0, 0, 1, iABC) /* OP_GETVARG */
106 ,opmode(0, 0, 0, 0, 0, iABx) /* OP_ERRNNIL */ 106 ,opmode(0, 0, 0, 0, 0, iABx) /* OP_ERRNNIL */
107 ,opmode(0, 0, 1, 0, 0, iABC) /* OP_VARARGPREP */ 107 ,opmode(0, 0, 0, 0, 0, iABC) /* OP_VARARGPREP */
108 ,opmode(0, 0, 0, 0, 0, iAx) /* OP_EXTRAARG */ 108 ,opmode(0, 0, 0, 0, 0, iAx) /* OP_EXTRAARG */
109}; 109};
110 110