From 74907fb71e69949d63d94c4c12b80938c974a6df Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 25 Jan 2002 19:50:39 -0200 Subject: OP_LOADINT can be done by OP_LOADK --- lopcodes.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lopcodes.h') diff --git a/lopcodes.h b/lopcodes.h index 6e2103c9..f8db57cf 100644 --- a/lopcodes.h +++ b/lopcodes.h @@ -129,7 +129,6 @@ name args description ------------------------------------------------------------------------*/ OP_MOVE,/* A B R(A) := R(B) */ OP_LOADK,/* A Bc R(A) := Kst(Bc) */ -OP_LOADINT,/* A sBc R(A) := (Number)sBc */ OP_LOADBOOL,/* A B C R(A) := (Bool)B; if (C) PC++ */ OP_LOADNIL,/* A B R(A) := ... := R(B) := nil */ OP_GETUPVAL,/* A B R(A) := UpValue[B] */ @@ -180,10 +179,7 @@ OP_SETLIST,/* A Bc R(A)[Bc-Bc%FPF+i] := R(A+i), 1 <= i <= Bc%FPF+1 */ OP_SETLISTO,/* A Bc */ OP_CLOSE,/* A close all variables in the stack up to (>=) R(A)*/ -OP_CLOSURE /* A Bc R(A) := closure(KPROTO[Bc], R(A), ... ,R(A+n)) */ -/*---------------------------------------------------------------------- -pseudo-instructions (interruptions): cannot occur in regular code -------------------------------------------------------------------------*/ +OP_CLOSURE/* A Bc R(A) := closure(KPROTO[Bc], R(A), ... ,R(A+n)) */ } OpCode; -- cgit v1.2.3-55-g6feb