diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-25 19:50:39 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-25 19:50:39 -0200 |
commit | 74907fb71e69949d63d94c4c12b80938c974a6df (patch) | |
tree | 6093d5e5af4870fe2600eff5815d5db96969c979 /lopcodes.c | |
parent | b38e594ed738238d352bb5344446ef07d15510b4 (diff) | |
download | lua-74907fb71e69949d63d94c4c12b80938c974a6df.tar.gz lua-74907fb71e69949d63d94c4c12b80938c974a6df.tar.bz2 lua-74907fb71e69949d63d94c4c12b80938c974a6df.zip |
OP_LOADINT can be done by OP_LOADK
Diffstat (limited to 'lopcodes.c')
-rw-r--r-- | lopcodes.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -17,7 +17,6 @@ | |||
17 | const char *const luaP_opnames[] = { | 17 | const char *const luaP_opnames[] = { |
18 | "MOVE", | 18 | "MOVE", |
19 | "LOADK", | 19 | "LOADK", |
20 | "LOADINT", | ||
21 | "LOADBOOL", | 20 | "LOADBOOL", |
22 | "LOADNIL", | 21 | "LOADNIL", |
23 | "GETUPVAL", | 22 | "GETUPVAL", |
@@ -67,7 +66,6 @@ const lu_byte luaP_opmodes[NUM_OPCODES] = { | |||
67 | /* T _ B C sA K mode opcode */ | 66 | /* T _ B C sA K mode opcode */ |
68 | opmode(0,0,1,0, 1,0,iABC) /* OP_MOVE */ | 67 | opmode(0,0,1,0, 1,0,iABC) /* OP_MOVE */ |
69 | ,opmode(0,0,0,0, 1,1,iABc) /* OP_LOADK */ | 68 | ,opmode(0,0,0,0, 1,1,iABc) /* OP_LOADK */ |
70 | ,opmode(0,0,0,0, 1,0,iAsBc) /* OP_LOADINT */ | ||
71 | ,opmode(0,0,0,0, 1,0,iABC) /* OP_LOADBOOL */ | 69 | ,opmode(0,0,0,0, 1,0,iABC) /* OP_LOADBOOL */ |
72 | ,opmode(0,0,1,0, 1,0,iABC) /* OP_LOADNIL */ | 70 | ,opmode(0,0,1,0, 1,0,iABC) /* OP_LOADNIL */ |
73 | ,opmode(0,0,0,0, 1,0,iABC) /* OP_GETUPVAL */ | 71 | ,opmode(0,0,0,0, 1,0,iABC) /* OP_GETUPVAL */ |