diff options
Diffstat (limited to 'src/luac/print.h')
-rw-r--r-- | src/luac/print.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/src/luac/print.h b/src/luac/print.h new file mode 100644 index 00000000..31e2bb89 --- /dev/null +++ b/src/luac/print.h @@ -0,0 +1,76 @@ +/* +** print.h +** opcode names +** $Id: print.h,v 1.1 1996/02/23 19:04:13 lhf Exp $ +*/ + +static char* OpCodeName[]={ /* attention: same order as enum in opcode.h */ + "PUSHNIL", + "PUSH0", + "PUSH1", + "PUSH2", + "PUSHBYTE", + "PUSHWORD", + "PUSHFLOAT", + "PUSHSTRING", + "PUSHFUNCTION", + "PUSHLOCAL0", + "PUSHLOCAL1", + "PUSHLOCAL2", + "PUSHLOCAL3", + "PUSHLOCAL4", + "PUSHLOCAL5", + "PUSHLOCAL6", + "PUSHLOCAL7", + "PUSHLOCAL8", + "PUSHLOCAL9", + "PUSHLOCAL", + "PUSHGLOBAL", + "PUSHINDEXED", + "PUSHSELF", + "STORELOCAL0", + "STORELOCAL1", + "STORELOCAL2", + "STORELOCAL3", + "STORELOCAL4", + "STORELOCAL5", + "STORELOCAL6", + "STORELOCAL7", + "STORELOCAL8", + "STORELOCAL9", + "STORELOCAL", + "STOREGLOBAL", + "STOREINDEXED0", + "STOREINDEXED", + "STORELIST0", + "STORELIST", + "STORERECORD", + "ADJUST0", + "ADJUST", + "CREATEARRAY", + "EQOP", + "LTOP", + "LEOP", + "GTOP", + "GEOP", + "ADDOP", + "SUBOP", + "MULTOP", + "DIVOP", + "POWOP", + "CONCOP", + "MINUSOP", + "NOTOP", + "ONTJMP", + "ONFJMP", + "JMP", + "UPJMP", + "IFFJMP", + "IFFUPJMP", + "POP", + "CALLFUNC", + "RETCODE0", + "RETCODE", + "SETLINE", + "" +}; |