aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 3f25e828..ee0f9354 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.13 1997/12/29 17:35:46 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.14 1997/12/30 19:08:23 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*/
@@ -169,19 +169,14 @@ SETLINEW,/* w - - LINE=w */
169 169
170POP,/* b - - TOP-=(b+1) */ 170POP,/* b - - TOP-=(b+1) */
171POP0,/* - - - TOP-=1 */ 171POP0,/* - - - TOP-=1 */
172POP1,/* - - - TOP-=2 */ 172POP1/* - - - TOP-=2 */
173 173
174ARGS,/* b - - TOP=BASE+b */
175ARGS0,/* - - - TOP=BASE+0 */
176ARGS1,/* - - - TOP=BASE+1 */
177ARGS2,/* - - - TOP=BASE+2 */
178ARGS3,/* - - - TOP=BASE+3 */
179VARARGS/* b v_x...v_1 {v_1...v_x;n=x} TOP=BASE+b+1 */
180} OpCode; 174} OpCode;
181 175
182 176
183#define RFIELDS_PER_FLUSH 32 /* records (SETMAP) */ 177#define RFIELDS_PER_FLUSH 32 /* records (SETMAP) */
184#define LFIELDS_PER_FLUSH 64 /* lists (SETLIST) */ 178#define LFIELDS_PER_FLUSH 64 /* lists (SETLIST) */
185 179
180#define ZEROVARARG 64
186 181
187#endif 182#endif