Index: src/wasm/wasm-opcodes.h |
diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h |
index 9fb15495ede1bb51013e4c110f4f37b8903f2cb7..27ae690aa53a3cc355e041000edfdec736b5cc66 100644 |
--- a/src/wasm/wasm-opcodes.h |
+++ b/src/wasm/wasm-opcodes.h |
@@ -62,13 +62,15 @@ struct WasmName { |
V(Block, 0x01, _) \ |
V(Loop, 0x02, _) \ |
V(If, 0x03, _) \ |
- V(IfElse, 0x04, _) \ |
+ V(Else, 0x04, _) \ |
V(Select, 0x05, _) \ |
V(Br, 0x06, _) \ |
V(BrIf, 0x07, _) \ |
V(BrTable, 0x08, _) \ |
V(Return, 0x14, _) \ |
- V(Unreachable, 0x15, _) |
+ V(Unreachable, 0x15, _) \ |
+ V(Next, 0x16, _) \ |
+ V(End, 0x17, _) |
// Constants, locals, globals, and calls. |
#define FOREACH_MISC_OPCODE(V) \ |
@@ -312,6 +314,7 @@ class WasmOpcodes { |
public: |
static bool IsSupported(WasmOpcode opcode); |
static const char* OpcodeName(WasmOpcode opcode); |
+ static const char* ShortOpcodeName(WasmOpcode opcode); |
static FunctionSig* Signature(WasmOpcode opcode); |
static byte MemSize(MachineType type) { |