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 10d4bbce..18199764 100644
--- a/lopcodes.c
+++ b/lopcodes.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.c,v 1.54 2014/11/02 19:19:04 roberto Exp roberto $ 2** $Id: lopcodes.c,v 1.55 2015/01/05 13:48:33 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*/
@@ -20,6 +20,7 @@
20LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = { 20LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = {
21 "MOVE", 21 "MOVE",
22 "LOADK", 22 "LOADK",
23 "LOADI",
23 "LOADKX", 24 "LOADKX",
24 "LOADBOOL", 25 "LOADBOOL",
25 "LOADNIL", 26 "LOADNIL",
@@ -75,6 +76,7 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = {
75/* T A B C mode opcode */ 76/* T A B C mode opcode */
76 opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_MOVE */ 77 opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_MOVE */
77 ,opmode(0, 1, OpArgK, OpArgN, iABx) /* OP_LOADK */ 78 ,opmode(0, 1, OpArgK, OpArgN, iABx) /* OP_LOADK */
79 ,opmode(0, 1, OpArgU, OpArgN, iAsBx) /* OP_LOADI */
78 ,opmode(0, 1, OpArgN, OpArgN, iABx) /* OP_LOADKX */ 80 ,opmode(0, 1, OpArgN, OpArgN, iABx) /* OP_LOADKX */
79 ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_LOADBOOL */ 81 ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_LOADBOOL */
80 ,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_LOADNIL */ 82 ,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_LOADNIL */