diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-27 15:44:31 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-27 15:44:31 -0200 |
commit | 093c16b67b263e334600ed306310b9015f65fa8b (patch) | |
tree | 5ed17cb52078eddcc9b6b051e102839194ad4ba8 /lopcodes.c | |
parent | 599f1742c628db70ef84794b3b8b25fdef9e5004 (diff) | |
download | lua-093c16b67b263e334600ed306310b9015f65fa8b.tar.gz lua-093c16b67b263e334600ed306310b9015f65fa8b.tar.bz2 lua-093c16b67b263e334600ed306310b9015f65fa8b.zip |
new opcodes 'OP_LTI' and 'OP_LEI'
Diffstat (limited to 'lopcodes.c')
-rw-r--r-- | lopcodes.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.c,v 1.68 2017/11/16 12:59:14 roberto Exp roberto $ | 2 | ** $Id: lopcodes.c,v 1.69 2017/11/22 18:41:20 roberto Exp roberto $ |
3 | ** Opcodes for Lua virtual machine | 3 | ** Opcodes for Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -68,6 +68,8 @@ LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = { | |||
68 | "LE", | 68 | "LE", |
69 | "EQK", | 69 | "EQK", |
70 | "EQI", | 70 | "EQI", |
71 | "LTI", | ||
72 | "LEI", | ||
71 | "TEST", | 73 | "TEST", |
72 | "TESTSET", | 74 | "TESTSET", |
73 | "CALL", | 75 | "CALL", |
@@ -137,6 +139,8 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = { | |||
137 | ,opmode(1, 0, iABC) /* OP_LE */ | 139 | ,opmode(1, 0, iABC) /* OP_LE */ |
138 | ,opmode(1, 0, iABC) /* OP_EQK */ | 140 | ,opmode(1, 0, iABC) /* OP_EQK */ |
139 | ,opmode(1, 0, iABC) /* OP_EQI */ | 141 | ,opmode(1, 0, iABC) /* OP_EQI */ |
142 | ,opmode(1, 0, iABC) /* OP_LTI */ | ||
143 | ,opmode(1, 0, iABC) /* OP_LEI */ | ||
140 | ,opmode(1, 0, iABC) /* OP_TEST */ | 144 | ,opmode(1, 0, iABC) /* OP_TEST */ |
141 | ,opmode(1, 1, iABC) /* OP_TESTSET */ | 145 | ,opmode(1, 1, iABC) /* OP_TESTSET */ |
142 | ,opmode(0, 1, iABC) /* OP_CALL */ | 146 | ,opmode(0, 1, iABC) /* OP_CALL */ |