diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-21 12:49:32 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-21 12:49:32 -0300 |
| commit | 212095a601ee68e99065b553f7b6bc216056d82e (patch) | |
| tree | 3843f9dde40eeb71c56ac8a0be8d77c78272f6ef /lopcodes.c | |
| parent | c67603fafba7f982e92eb870ff4da6c6433c2a85 (diff) | |
| download | lua-212095a601ee68e99065b553f7b6bc216056d82e.tar.gz lua-212095a601ee68e99065b553f7b6bc216056d82e.tar.bz2 lua-212095a601ee68e99065b553f7b6bc216056d82e.zip | |
new opcodes OP_GTI/OP_GEI
Diffstat (limited to 'lopcodes.c')
| -rw-r--r-- | lopcodes.c | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lopcodes.c,v 1.77 2018/02/09 15:16:06 roberto Exp roberto $ | 2 | ** $Id: lopcodes.c,v 1.78 2018/02/15 15:34:29 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 | */ |
| @@ -75,6 +75,8 @@ LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = { | |||
| 75 | "EQI", | 75 | "EQI", |
| 76 | "LTI", | 76 | "LTI", |
| 77 | "LEI", | 77 | "LEI", |
| 78 | "GTI", | ||
| 79 | "GEI", | ||
| 78 | "TEST", | 80 | "TEST", |
| 79 | "TESTSET", | 81 | "TESTSET", |
| 80 | "CALL", | 82 | "CALL", |
| @@ -156,6 +158,8 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = { | |||
| 156 | ,opmode(0, 0, 1, 0, iABC) /* OP_EQI */ | 158 | ,opmode(0, 0, 1, 0, iABC) /* OP_EQI */ |
| 157 | ,opmode(0, 0, 1, 0, iABC) /* OP_LTI */ | 159 | ,opmode(0, 0, 1, 0, iABC) /* OP_LTI */ |
| 158 | ,opmode(0, 0, 1, 0, iABC) /* OP_LEI */ | 160 | ,opmode(0, 0, 1, 0, iABC) /* OP_LEI */ |
| 161 | ,opmode(0, 0, 1, 0, iABC) /* OP_GTI */ | ||
| 162 | ,opmode(0, 0, 1, 0, iABC) /* OP_GEI */ | ||
| 159 | ,opmode(0, 0, 1, 0, iABC) /* OP_TEST */ | 163 | ,opmode(0, 0, 1, 0, iABC) /* OP_TEST */ |
| 160 | ,opmode(0, 0, 1, 1, iABC) /* OP_TESTSET */ | 164 | ,opmode(0, 0, 1, 1, iABC) /* OP_TESTSET */ |
| 161 | ,opmode(1, 1, 0, 1, iABC) /* OP_CALL */ | 165 | ,opmode(1, 1, 0, 1, iABC) /* OP_CALL */ |
