diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-04-12 14:27:35 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-04-12 14:27:35 -0300 |
| commit | c86586e866fc43c4fc82f51a6ad70b42cc45b1a3 (patch) | |
| tree | 3ae7e403833bf7eb76786be788f0f6cae217ce16 | |
| parent | 19fbdf6cae4c5186a498eb7a2fcc128804a9c3d5 (diff) | |
| download | lua-c86586e866fc43c4fc82f51a6ad70b42cc45b1a3.tar.gz lua-c86586e866fc43c4fc82f51a6ad70b42cc45b1a3.tar.bz2 lua-c86586e866fc43c4fc82f51a6ad70b42cc45b1a3.zip | |
small corrections in description of OP_TEST and OP_LOADKX
| -rw-r--r-- | lopcodes.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lopcodes.c,v 1.45 2011/02/07 12:24:42 roberto Exp roberto $ | 2 | ** $Id: lopcodes.c,v 1.46 2011/04/07 18:14:12 roberto Exp roberto $ |
| 3 | ** See Copyright Notice in lua.h | 3 | ** See Copyright Notice in lua.h |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| @@ -64,7 +64,7 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = { | |||
| 64 | /* T A B C mode opcode */ | 64 | /* T A B C mode opcode */ |
| 65 | opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_MOVE */ | 65 | opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_MOVE */ |
| 66 | ,opmode(0, 1, OpArgK, OpArgN, iABx) /* OP_LOADK */ | 66 | ,opmode(0, 1, OpArgK, OpArgN, iABx) /* OP_LOADK */ |
| 67 | ,opmode(0, 1, OpArgK, OpArgN, iABx) /* OP_LOADKX */ | 67 | ,opmode(0, 1, OpArgN, OpArgN, iABx) /* OP_LOADKX */ |
| 68 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_LOADBOOL */ | 68 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_LOADBOOL */ |
| 69 | ,opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_LOADNIL */ | 69 | ,opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_LOADNIL */ |
| 70 | ,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_GETUPVAL */ | 70 | ,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_GETUPVAL */ |
| @@ -89,7 +89,7 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = { | |||
| 89 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_EQ */ | 89 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_EQ */ |
| 90 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_LT */ | 90 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_LT */ |
| 91 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_LE */ | 91 | ,opmode(1, 0, OpArgK, OpArgK, iABC) /* OP_LE */ |
| 92 | ,opmode(1, 1, OpArgR, OpArgU, iABC) /* OP_TEST */ | 92 | ,opmode(1, 0, OpArgN, OpArgU, iABC) /* OP_TEST */ |
| 93 | ,opmode(1, 1, OpArgR, OpArgU, iABC) /* OP_TESTSET */ | 93 | ,opmode(1, 1, OpArgR, OpArgU, iABC) /* OP_TESTSET */ |
| 94 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_CALL */ | 94 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_CALL */ |
| 95 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_TAILCALL */ | 95 | ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_TAILCALL */ |
