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 91221368..64a637b8 100644
--- a/lopcodes.c
+++ b/lopcodes.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.c,v 1.48 2011/04/19 16:22:13 roberto Exp roberto $ 2** $Id: lopcodes.c,v 1.49 2012/05/14 13:34:18 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 "SUB", 32 "SUB",
33 "MUL", 33 "MUL",
34 "DIV", 34 "DIV",
35 "IDIV",
35 "MOD", 36 "MOD",
36 "POW", 37 "POW",
37 "UNM", 38 "UNM",
@@ -80,6 +81,7 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = {
80 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_SUB */ 81 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_SUB */
81 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_MUL */ 82 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_MUL */
82 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_DIV */ 83 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_DIV */
84 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_IDIV */
83 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_MOD */ 85 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_MOD */
84 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_POW */ 86 ,opmode(0, 1, OpArgK, OpArgK, iABC) /* OP_POW */
85 ,opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_UNM */ 87 ,opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_UNM */