aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.c')
-rw-r--r--lopcodes.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lopcodes.c b/lopcodes.c
index 18199764..f66f209a 100644
--- a/lopcodes.c
+++ b/lopcodes.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.c,v 1.55 2015/01/05 13:48:33 roberto Exp roberto $ 2** $Id: lopcodes.c,v 1.56 2017/04/20 19:53:55 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*/
@@ -32,6 +32,7 @@ LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = {
32 "SETTABLE", 32 "SETTABLE",
33 "NEWTABLE", 33 "NEWTABLE",
34 "SELF", 34 "SELF",
35 "ADDI",
35 "ADD", 36 "ADD",
36 "SUB", 37 "SUB",
37 "MUL", 38 "MUL",
@@ -88,6 +89,7 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = {
88 ,opmode(0, 0, OpArgK, OpArgK, iABC) /* OP_SETTABLE */ 89 ,opmode(0, 0, OpArgK, OpArgK, iABC) /* OP_SETTABLE */
89 ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_NEWTABLE */ 90 ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_NEWTABLE */
90 ,opmode(0, 1, OpArgR, OpArgK, iABC) /* OP_SELF */ 91 ,opmode(0, 1, OpArgR, OpArgK, iABC) /* OP_SELF */
92 ,opmode(0, 1, OpArgR, OpArgU, iABC) /* OP_ADDI */
91 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_ADD */ 93 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_ADD */
92 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_SUB */ 94 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_SUB */
93 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_MUL */ 95 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_MUL */