aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lopcodes.h b/lopcodes.h
index f8db57cf..e72ac0cd 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -169,10 +169,7 @@ OP_TESTF,/* A B if not (R(B)) then R(A) := R(B) else pc++ */
169OP_CALL,/* A B C R(A), ... ,R(A+C-2) := R(A)(R(A+1), ... ,R(A+B-1))*/ 169OP_CALL,/* A B C R(A), ... ,R(A+C-2) := R(A)(R(A+1), ... ,R(A+B-1))*/
170OP_RETURN,/* A B return R(A), ... ,R(A+B-2) (see (3)) */ 170OP_RETURN,/* A B return R(A), ... ,R(A+B-2) (see (3)) */
171 171
172OP_FORPREP,/* A sBc */
173OP_FORLOOP,/* A sBc */ 172OP_FORLOOP,/* A sBc */
174
175OP_TFORPREP,/* A sBc */
176OP_TFORLOOP,/* A sBc */ 173OP_TFORLOOP,/* A sBc */
177 174
178OP_SETLIST,/* A Bc R(A)[Bc-Bc%FPF+i] := R(A+i), 1 <= i <= Bc%FPF+1 */ 175OP_SETLIST,/* A Bc R(A)[Bc-Bc%FPF+i] := R(A+i), 1 <= i <= Bc%FPF+1 */
@@ -206,7 +203,8 @@ enum OpModeMask {
206 OpModeCreg, /* C is a register/constant */ 203 OpModeCreg, /* C is a register/constant */
207 OpModesetA, /* instruction set register A */ 204 OpModesetA, /* instruction set register A */
208 OpModeK, /* Bc is a constant */ 205 OpModeK, /* Bc is a constant */
209 OpModeT /* operator is a test */ 206 OpModeT, /* operator is a test */
207 OpModeNoTrace /* operator should not be traced */
210}; 208};
211 209
212extern const lu_byte luaP_opmodes[NUM_OPCODES]; 210extern const lu_byte luaP_opmodes[NUM_OPCODES];