summaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ltests.c b/ltests.c
index 017d29cb..596fee2b 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 1.10 2000/03/16 20:35:07 roberto Exp roberto $ 2** $Id: ltests.c,v 1.11 2000/04/06 17:35:23 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -70,16 +70,16 @@ static int printop (lua_State *L, Instruction i) {
70 case OP_PUSHNUM: U("PUSHNUM"); break; 70 case OP_PUSHNUM: U("PUSHNUM"); break;
71 case OP_PUSHNEGNUM: U("PUSHNEGNUM"); break; 71 case OP_PUSHNEGNUM: U("PUSHNEGNUM"); break;
72 case OP_PUSHUPVALUE: U("PUSHUPVALUE"); break; 72 case OP_PUSHUPVALUE: U("PUSHUPVALUE"); break;
73 case OP_PUSHLOCAL: U("PUSHLOCAL"); break; 73 case OP_GETLOCAL: U("GETLOCAL"); break;
74 case OP_GETGLOBAL: U("GETGLOBAL"); break; 74 case OP_GETGLOBAL: U("GETGLOBAL"); break;
75 case OP_GETTABLE: O("GETTABLE"); break; 75 case OP_GETTABLE: O("GETTABLE"); break;
76 case OP_GETDOTTED: U("GETDOTTED"); break; 76 case OP_GETDOTTED: U("GETDOTTED"); break;
77 case OP_GETINDEXED: U("GETINDEXED"); break;
77 case OP_PUSHSELF: U("PUSHSELF"); break; 78 case OP_PUSHSELF: U("PUSHSELF"); break;
78 case OP_CREATETABLE: U("CREATETABLE"); break; 79 case OP_CREATETABLE: U("CREATETABLE"); break;
79 case OP_SETLOCAL: U("SETLOCAL"); break; 80 case OP_SETLOCAL: AB("SETLOCAL"); break;
80 case OP_SETGLOBAL: U("SETGLOBAL"); break; 81 case OP_SETGLOBAL: U("SETGLOBAL"); break;
81 case OP_SETTABLEPOP: O("SETTABLEPOP"); break; 82 case OP_SETTABLE: AB("SETTABLE"); break;
82 case OP_SETTABLE: U("SETTABLE"); break;
83 case OP_SETLIST: AB("SETLIST"); break; 83 case OP_SETLIST: AB("SETLIST"); break;
84 case OP_SETMAP: U("SETMAP"); break; 84 case OP_SETMAP: U("SETMAP"); break;
85 case OP_ADD: O("ADD"); break; 85 case OP_ADD: O("ADD"); break;
@@ -89,10 +89,10 @@ static int printop (lua_State *L, Instruction i) {
89 case OP_MULT: O("MULT"); break; 89 case OP_MULT: O("MULT"); break;
90 case OP_DIV: O("DIV"); break; 90 case OP_DIV: O("DIV"); break;
91 case OP_POW: O("POW"); break; 91 case OP_POW: O("POW"); break;
92 case OP_CONC: U("CONC"); break; 92 case OP_CONCAT: U("CONCAT"); break;
93 case OP_MINUS: O("MINUS"); break; 93 case OP_MINUS: O("MINUS"); break;
94 case OP_NOT: O("NOT"); break; 94 case OP_NOT: O("NOT"); break;
95 case OP_JMPNEQ: S("JMPNEQ"); break; 95 case OP_JMPNE: S("JMPNE"); break;
96 case OP_JMPEQ: S("JMPEQ"); break; 96 case OP_JMPEQ: S("JMPEQ"); break;
97 case OP_JMPLT: S("JMPLT"); break; 97 case OP_JMPLT: S("JMPLT"); break;
98 case OP_JMPLE: S("JMPLE"); break; 98 case OP_JMPLE: S("JMPLE"); break;