From 36c1f6d949a4d3dfcbe898d80b1be1efe8e5325c Mon Sep 17 00:00:00 2001 From: Roberto I Date: Wed, 29 Apr 2026 15:17:55 -0300 Subject: [PATCH] Small correction in luaP_opmodes OP_VARARGPREP neither sets nor uses L->top. --- lopcodes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] = { ,opmode(0, 1, 0, 0, 1, iABC) /* OP_VARARG */ ,opmode(0, 0, 0, 0, 1, iABC) /* OP_GETVARG */ ,opmode(0, 0, 0, 0, 0, iABx) /* OP_ERRNNIL */ - ,opmode(0, 0, 1, 0, 0, iABC) /* OP_VARARGPREP */ + ,opmode(0, 0, 0, 0, 0, iABC) /* OP_VARARGPREP */ ,opmode(0, 0, 0, 0, 0, iAx) /* OP_EXTRAARG */ };