diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-08-14 15:33:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-08-14 15:33:14 -0300 |
commit | ac65bab25f1eaaf70e1826a6937a74b3a55b521b (patch) | |
tree | a8220432c19dde69af92e720008863f821d1ce96 /lopcodes.c | |
parent | f185c0132e09a5e0a32782c674de75b510f887d8 (diff) | |
download | lua-ac65bab25f1eaaf70e1826a6937a74b3a55b521b.tar.gz lua-ac65bab25f1eaaf70e1826a6937a74b3a55b521b.tar.bz2 lua-ac65bab25f1eaaf70e1826a6937a74b3a55b521b.zip |
jumps in 'for' loops don't need to be signed
Diffstat (limited to 'lopcodes.c')
-rw-r--r-- | lopcodes.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.c,v 1.58 2017/04/28 20:57:45 roberto Exp roberto $ | 2 | ** $Id: lopcodes.c,v 1.59 2017/06/29 15:38:41 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 | */ |
@@ -124,10 +124,10 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = { | |||
124 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_CALL */ | 124 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_CALL */ |
125 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_TAILCALL */ | 125 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_TAILCALL */ |
126 | ,opmode(0, 0, OpArgU, OpArgN, iABC) /* OP_RETURN */ | 126 | ,opmode(0, 0, OpArgU, OpArgN, iABC) /* OP_RETURN */ |
127 | ,opmode(0, 1, OpArgR, OpArgN, iAsBx) /* OP_FORLOOP */ | 127 | ,opmode(0, 1, OpArgR, OpArgN, iABx) /* OP_FORLOOP */ |
128 | ,opmode(0, 1, OpArgR, OpArgN, iAsBx) /* OP_FORPREP */ | 128 | ,opmode(0, 1, OpArgR, OpArgN, iABx) /* OP_FORPREP */ |
129 | ,opmode(0, 0, OpArgN, OpArgU, iABC) /* OP_TFORCALL */ | 129 | ,opmode(0, 0, OpArgN, OpArgU, iABC) /* OP_TFORCALL */ |
130 | ,opmode(0, 1, OpArgR, OpArgN, iAsBx) /* OP_TFORLOOP */ | 130 | ,opmode(0, 1, OpArgR, OpArgN, iABx) /* OP_TFORLOOP */ |
131 | ,opmode(0, 0, OpArgU, OpArgU, iABC) /* OP_SETLIST */ | 131 | ,opmode(0, 0, OpArgU, OpArgU, iABC) /* OP_SETLIST */ |
132 | ,opmode(0, 1, OpArgU, OpArgN, iABx) /* OP_CLOSURE */ | 132 | ,opmode(0, 1, OpArgU, OpArgN, iABx) /* OP_CLOSURE */ |
133 | ,opmode(0, 1, OpArgU, OpArgR, iABC) /* OP_VARARG */ | 133 | ,opmode(0, 1, OpArgU, OpArgR, iABC) /* OP_VARARG */ |