diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-07 15:20:42 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-07 15:20:42 -0200 |
commit | c3e5946fb2b7b5781d9bca9d303967abe6263482 (patch) | |
tree | 012bee6184675f1559e994eba42dda7c38381283 /lopcodes.c | |
parent | ad0704e40cc7b3135fedc6d40a522addb039e090 (diff) | |
download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |