new way to hanlde arg information
This commit is contained in:
11
lopcodes.h
11
lopcodes.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lopcodes.h,v 1.13 1997/12/29 17:35:46 roberto Exp roberto $
|
||||
** $Id: lopcodes.h,v 1.14 1997/12/30 19:08:23 roberto Exp roberto $
|
||||
** Opcodes for Lua virtual machine
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -169,19 +169,14 @@ SETLINEW,/* w - - LINE=w */
|
||||
|
||||
POP,/* b - - TOP-=(b+1) */
|
||||
POP0,/* - - - TOP-=1 */
|
||||
POP1,/* - - - TOP-=2 */
|
||||
POP1/* - - - TOP-=2 */
|
||||
|
||||
ARGS,/* b - - TOP=BASE+b */
|
||||
ARGS0,/* - - - TOP=BASE+0 */
|
||||
ARGS1,/* - - - TOP=BASE+1 */
|
||||
ARGS2,/* - - - TOP=BASE+2 */
|
||||
ARGS3,/* - - - TOP=BASE+3 */
|
||||
VARARGS/* b v_x...v_1 {v_1...v_x;n=x} TOP=BASE+b+1 */
|
||||
} OpCode;
|
||||
|
||||
|
||||
#define RFIELDS_PER_FLUSH 32 /* records (SETMAP) */
|
||||
#define LFIELDS_PER_FLUSH 64 /* lists (SETLIST) */
|
||||
|
||||
#define ZEROVARARG 64
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user