From ffb22e3c900e8246d806d2e9a765dc14251b33e8 Mon Sep 17 00:00:00 2001 From: Asumu Takikawa Date: Thu, 18 Feb 2021 07:09:32 -0800 Subject: Update rethrow depth handling and catch_all opcode (#1608) Give `catch_all` its own opcode: Previously `catch_all` shared an opcode with `else`, but the spec now allocates it the 0x19 opcode. Adjust rethrow depth semantics: Previously this had interpreted the rethrow depth argument as counting only catch blocks, but the spec has clarified that it should count all blocks (in a similar fashion as `br` and related instructions). --- src/opcode-code-table.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/opcode-code-table.c') diff --git a/src/opcode-code-table.c b/src/opcode-code-table.c index 6a746c5e..c3e06d03 100644 --- a/src/opcode-code-table.c +++ b/src/opcode-code-table.c @@ -27,7 +27,6 @@ typedef enum WabtOpcodeEnum { #include "opcode.def" #undef WABT_OPCODE Invalid, - CatchAll = Else, } WabtOpcodeEnum; WABT_STATIC_ASSERT(Invalid <= WABT_OPCODE_CODE_TABLE_SIZE); -- cgit v1.2.3