From 318a9a5859826d7af0294664e206236fc8814319 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 7 Feb 2018 13:18:04 -0200 Subject: new opcode 'PREPVARARG' (avoids test for vararg function in all function calls) --- lopcodes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lopcodes.h') diff --git a/lopcodes.h b/lopcodes.h index 31bd12f8..47c72c69 100644 --- a/lopcodes.h +++ b/lopcodes.h @@ -288,6 +288,8 @@ OP_CLOSURE,/* A Bx R(A) := closure(KPROTO[Bx]) */ OP_VARARG,/* A B C R(A), R(A+1), ..., R(A+C-2) = vararg(B) */ +OP_PREPVARARG,/*A (adjust vararg parameters) */ + OP_EXTRAARG/* Ax extra (larger) argument for previous opcode */ } OpCode; -- cgit v1.2.3-55-g6feb