|
@ -1,5 +1,5 @@ |
|
|
/*
|
|
|
/*
|
|
|
** $Id: lopcodes.c,v 1.27 2004/05/31 18:51:50 roberto Exp roberto $ |
|
|
** $Id: lopcodes.c,v 1.28 2004/07/16 13:15:32 roberto Exp $ |
|
|
** See Copyright Notice in lua.h |
|
|
** See Copyright Notice in lua.h |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
@ -49,7 +49,6 @@ const char *const luaP_opnames[NUM_OPCODES] = { |
|
|
"TFORLOOP", |
|
|
"TFORLOOP", |
|
|
"TFORPREP", |
|
|
"TFORPREP", |
|
|
"SETLIST", |
|
|
"SETLIST", |
|
|
"SETLISTO", |
|
|
|
|
|
"CLOSE", |
|
|
"CLOSE", |
|
|
"CLOSURE", |
|
|
"CLOSURE", |
|
|
"VARARG" |
|
|
"VARARG" |
|
@ -92,8 +91,7 @@ const lu_byte luaP_opmodes[NUM_OPCODES] = { |
|
|
,opmode(0, 1, OpArgR, OpArgN, iAsBx) /* OP_FORPREP */ |
|
|
,opmode(0, 1, OpArgR, OpArgN, iAsBx) /* OP_FORPREP */ |
|
|
,opmode(1, 0, OpArgN, OpArgU, iABC) /* OP_TFORLOOP */ |
|
|
,opmode(1, 0, OpArgN, OpArgU, iABC) /* OP_TFORLOOP */ |
|
|
,opmode(0, 0, OpArgR, OpArgN, iAsBx) /* OP_TFORPREP */ |
|
|
,opmode(0, 0, OpArgR, OpArgN, iAsBx) /* OP_TFORPREP */ |
|
|
,opmode(0, 0, OpArgU, OpArgN, iABx) /* OP_SETLIST */ |
|
|
,opmode(0, 0, OpArgU, OpArgU, iABC) /* OP_SETLIST */ |
|
|
,opmode(0, 0, OpArgU, OpArgN, iABx) /* OP_SETLISTO */ |
|
|
|
|
|
,opmode(0, 0, OpArgN, OpArgN, iABC) /* OP_CLOSE */ |
|
|
,opmode(0, 0, OpArgN, OpArgN, iABC) /* OP_CLOSE */ |
|
|
,opmode(0, 1, OpArgU, OpArgN, iABx) /* OP_CLOSURE */ |
|
|
,opmode(0, 1, OpArgU, OpArgN, iABx) /* OP_CLOSURE */ |
|
|
,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_VARARG */ |
|
|
,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_VARARG */ |
|
|