diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-30 10:03:00 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-30 10:03:00 -0200 |
| commit | 19c6b375c39e18441d1fa560d08688d66f746717 (patch) | |
| tree | 8a3460f2df538f74d7b64aca99ba65f70d6771da | |
| parent | 745eb4199333f153a28c75837b6a1addf614f4a9 (diff) | |
| download | lua-19c6b375c39e18441d1fa560d08688d66f746717.tar.gz lua-19c6b375c39e18441d1fa560d08688d66f746717.tar.bz2 lua-19c6b375c39e18441d1fa560d08688d66f746717.zip | |
detail (spacing)
| -rw-r--r-- | lopcodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lopcodes.h,v 1.172 2017/11/28 12:58:18 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.173 2017/11/29 16:57:36 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 | */ |
| @@ -258,11 +258,11 @@ OP_RETURN0,/* return */ | |||
| 258 | OP_RETURN1,/* A return R(A) */ | 258 | OP_RETURN1,/* A return R(A) */ |
| 259 | 259 | ||
| 260 | OP_FORLOOP,/* A Bx R(A)+=R(A+2); | 260 | OP_FORLOOP,/* A Bx R(A)+=R(A+2); |
| 261 | if R(A) <?= R(A+1) then { pc-=Bx; R(A+3)=R(A) }*/ | 261 | if R(A) <?= R(A+1) then { pc-=Bx; R(A+3)=R(A) } */ |
| 262 | OP_FORPREP,/* A Bx R(A)-=R(A+2); pc+=Bx */ | 262 | OP_FORPREP,/* A Bx R(A)-=R(A+2); pc+=Bx */ |
| 263 | 263 | ||
| 264 | OP_TFORCALL,/* A C R(A+3), ... ,R(A+2+C) := R(A)(R(A+1), R(A+2)); */ | 264 | OP_TFORCALL,/* A C R(A+3), ... ,R(A+2+C) := R(A)(R(A+1), R(A+2)); */ |
| 265 | OP_TFORLOOP,/* A Bx if R(A+1) ~= nil then { R(A)=R(A+1); pc -= Bx }*/ | 265 | OP_TFORLOOP,/* A Bx if R(A+1) ~= nil then { R(A)=R(A+1); pc -= Bx } */ |
| 266 | 266 | ||
| 267 | OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */ | 267 | OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */ |
| 268 | 268 | ||
