aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-07 15:20:42 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-07 15:20:42 -0200
commitc3e5946fb2b7b5781d9bca9d303967abe6263482 (patch)
tree012bee6184675f1559e994eba42dda7c38381283 /lopcodes.c
parentad0704e40cc7b3135fedc6d40a522addb039e090 (diff)
downloadlua-c3e5946fb2b7b5781d9bca9d303967abe6263482.tar.gz
lua-c3e5946fb2b7b5781d9bca9d303967abe6263482.tar.bz2
lua-c3e5946fb2b7b5781d9bca9d303967abe6263482.zip
new format for JUMP instructions (to allow larger offsets)
Diffstat (limited to 'lopcodes.c')
-rw-r--r--lopcodes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lopcodes.c b/lopcodes.c
index 42ce73d9..6ea54d09 100644
--- a/lopcodes.c
+++ b/lopcodes.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.c,v 1.65 2017/09/28 16:53:29 roberto Exp roberto $ 2** $Id: lopcodes.c,v 1.66 2017/10/04 15:49:24 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*/
@@ -129,7 +129,7 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = {
129 ,opmode(0, 1, iABC) /* OP_LEN */ 129 ,opmode(0, 1, iABC) /* OP_LEN */
130 ,opmode(0, 1, iABC) /* OP_CONCAT */ 130 ,opmode(0, 1, iABC) /* OP_CONCAT */
131 ,opmode(0, 0, iABC) /* OP_CLOSE */ 131 ,opmode(0, 0, iABC) /* OP_CLOSE */
132 ,opmode(0, 0, iAsBx) /* OP_JMP */ 132 ,opmode(0, 0, isJ) /* OP_JMP */
133 ,opmode(1, 0, iABC) /* OP_EQ */ 133 ,opmode(1, 0, iABC) /* OP_EQ */
134 ,opmode(1, 0, iABC) /* OP_LT */ 134 ,opmode(1, 0, iABC) /* OP_LT */
135 ,opmode(1, 0, iABC) /* OP_LE */ 135 ,opmode(1, 0, iABC) /* OP_LE */