diff options
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r-- | src/wasm-interpreter.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index df643718..b0b733d5 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -67,7 +67,7 @@ typedef enum WasmInterpreterResult { #define WASM_INVALID_OFFSET ((uint32_t)~0) #define WASM_TABLE_ENTRY_SIZE (sizeof(uint32_t) * 2 + sizeof(uint8_t)) #define WASM_TABLE_ENTRY_OFFSET_OFFSET 0 -#define WASM_TABLE_ENTRY_DISCARD_OFFSET sizeof(uint32_t) +#define WASM_TABLE_ENTRY_DROP_OFFSET sizeof(uint32_t) #define WASM_TABLE_ENTRY_KEEP_OFFSET (sizeof(uint32_t) * 2) enum { @@ -75,8 +75,7 @@ enum { WASM_OPCODE_ALLOCA = WASM_LAST_OPCODE, WASM_OPCODE_BR_UNLESS, WASM_OPCODE_DATA, - WASM_OPCODE_DISCARD, - WASM_OPCODE_DISCARD_KEEP, + WASM_OPCODE_DROP_KEEP, WASM_LAST_INTERPRETER_OPCODE, }; WASM_STATIC_ASSERT(WASM_LAST_INTERPRETER_OPCODE <= 256); |