aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-27 15:44:31 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-27 15:44:31 -0200
commit093c16b67b263e334600ed306310b9015f65fa8b (patch)
tree5ed17cb52078eddcc9b6b051e102839194ad4ba8 /lopcodes.c
parent599f1742c628db70ef84794b3b8b25fdef9e5004 (diff)
downloadlua-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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lopcodes.c b/lopcodes.c
index 05700950..122157eb 100644
--- a/lopcodes.c
+++ b/lopcodes.c
@@ -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 */