aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/lopcodes.h b/lopcodes.h
index f98f562b..e5067493 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.63 2000/06/05 14:56:18 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.64 2000/06/21 17:05:49 roberto Exp roberto $
3** Opcodes for Lua virtual machine 3** Opcodes for Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -146,13 +146,11 @@ OP_FORLOOP,/* J */
146OP_LFORPREP,/* J */ 146OP_LFORPREP,/* J */
147OP_LFORLOOP,/* J */ 147OP_LFORLOOP,/* J */
148 148
149OP_CLOSURE,/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */ 149OP_CLOSURE/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */
150
151OP_SETLINE/* U - - LINE=u */
152 150
153} OpCode; 151} OpCode;
154 152
155#define NUM_OPCODES ((int)OP_SETLINE+1) 153#define NUM_OPCODES ((int)OP_CLOSURE+1)
156 154
157 155
158#define ISJUMP(o) (OP_JMPNE <= (o) && (o) <= OP_JMP) 156#define ISJUMP(o) (OP_JMPNE <= (o) && (o) <= OP_JMP)