diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-06-29 12:38:41 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-06-29 12:38:41 -0300 |
commit | 07db10813cb044252c18973688f63b5eac6a90a6 (patch) | |
tree | db08d5c25bbba80af51a719a9092062b5ea408b0 /lopcodes.c | |
parent | f96497397addca22f22a6ba6eeabc906be43f16b (diff) | |
download | lua-07db10813cb044252c18973688f63b5eac6a90a6.tar.gz lua-07db10813cb044252c18973688f63b5eac6a90a6.tar.bz2 lua-07db10813cb044252c18973688f63b5eac6a90a6.zip |
'OP_VARARG' has the vararg parameter as an operand
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.57 2017/04/26 17:46:52 roberto Exp roberto $ | 2 | ** $Id: lopcodes.c,v 1.58 2017/04/28 20:57:45 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 | */ |
@@ -130,7 +130,7 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = { | |||
130 | ,opmode(0, 1, OpArgR, OpArgN, iAsBx) /* OP_TFORLOOP */ | 130 | ,opmode(0, 1, OpArgR, OpArgN, iAsBx) /* 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, OpArgN, iABC) /* OP_VARARG */ | 133 | ,opmode(0, 1, OpArgU, OpArgR, iABC) /* OP_VARARG */ |
134 | ,opmode(0, 0, OpArgU, OpArgU, iAx) /* OP_EXTRAARG */ | 134 | ,opmode(0, 0, OpArgU, OpArgU, iAx) /* OP_EXTRAARG */ |
135 | }; | 135 | }; |
136 | 136 | ||