diff options
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 */ | |||
146 | OP_LFORPREP,/* J */ | 146 | OP_LFORPREP,/* J */ |
147 | OP_LFORLOOP,/* J */ | 147 | OP_LFORLOOP,/* J */ |
148 | 148 | ||
149 | OP_CLOSURE,/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */ | 149 | OP_CLOSURE/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */ |
150 | |||
151 | OP_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) |