diff options
Diffstat (limited to 'lopcodes.c')
-rw-r--r-- | lopcodes.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.c,v 1.44 2010/10/13 16:45:54 roberto Exp roberto $ | 2 | ** $Id: lopcodes.c,v 1.45 2011/02/07 12:24:42 roberto Exp roberto $ |
3 | ** See Copyright Notice in lua.h | 3 | ** See Copyright Notice in lua.h |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -16,6 +16,7 @@ | |||
16 | LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = { | 16 | LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = { |
17 | "MOVE", | 17 | "MOVE", |
18 | "LOADK", | 18 | "LOADK", |
19 | "LOADKX", | ||
19 | "LOADBOOL", | 20 | "LOADBOOL", |
20 | "LOADNIL", | 21 | "LOADNIL", |
21 | "GETUPVAL", | 22 | "GETUPVAL", |
@@ -63,6 +64,7 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = { | |||
63 | /* T A B C mode opcode */ | 64 | /* T A B C mode opcode */ |
64 | opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_MOVE */ | 65 | opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_MOVE */ |
65 | ,opmode(0, 1, OpArgK, OpArgN, iABx) /* OP_LOADK */ | 66 | ,opmode(0, 1, OpArgK, OpArgN, iABx) /* OP_LOADK */ |
67 | ,opmode(0, 1, OpArgK, OpArgN, iABx) /* OP_LOADKX */ | ||
66 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_LOADBOOL */ | 68 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_LOADBOOL */ |
67 | ,opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_LOADNIL */ | 69 | ,opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_LOADNIL */ |
68 | ,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_GETUPVAL */ | 70 | ,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_GETUPVAL */ |