diff options
Diffstat (limited to 'lopcodes.c')
| -rw-r--r-- | lopcodes.c | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lopcodes.c,v 1.33 2005/05/04 20:42:28 roberto Exp roberto $ | 2 | ** $Id: lopcodes.c,v 1.34 2005/05/20 15:53:42 roberto Exp $ |
| 3 | ** See Copyright Notice in lua.h | 3 | ** See Copyright Notice in lua.h |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| @@ -43,6 +43,7 @@ const char *const luaP_opnames[NUM_OPCODES+1] = { | |||
| 43 | "LT", | 43 | "LT", |
| 44 | "LE", | 44 | "LE", |
| 45 | "TEST", | 45 | "TEST", |
| 46 | "TESTSET", | ||
| 46 | "CALL", | 47 | "CALL", |
| 47 | "TAILCALL", | 48 | "TAILCALL", |
| 48 | "RETURN", | 49 | "RETURN", |
| @@ -87,7 +88,8 @@ const lu_byte luaP_opmodes[NUM_OPCODES] = { | |||
| 87 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_EQ */ | 88 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_EQ */ |
| 88 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_LT */ | 89 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_LT */ |
| 89 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_LE */ | 90 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_LE */ |
| 90 | ,opmode(1, 1, OpArgR, OpArgU, iABC) /* OP_TEST */ | 91 | ,opmode(1, 0, OpArgR, OpArgU, iABC) /* OP_TEST */ |
| 92 | ,opmode(1, 1, OpArgR, OpArgU, iABC) /* OP_TESTSET */ | ||
| 91 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_CALL */ | 93 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_CALL */ |
| 92 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_TAILCALL */ | 94 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_TAILCALL */ |
| 93 | ,opmode(0, 0, OpArgU, OpArgN, iABC) /* OP_RETURN */ | 95 | ,opmode(0, 0, OpArgU, OpArgN, iABC) /* OP_RETURN */ |
