From a0b7abef00b59eeafed58c774195189425d020b0 Mon Sep 17 00:00:00 2001 From: "Soni L." <EnderMoneyMod@gmail.com> Date: Wed, 20 Nov 2024 14:51:48 -0300 Subject: binary/wat: Implement EHv4 (#2470) This pull request implements EHv4. Binary is mostly untested until interp is working. --- include/wabt/token.def | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/wabt/token.def') diff --git a/include/wabt/token.def b/include/wabt/token.def index 53d1fabb..f2f05aec 100644 --- a/include/wabt/token.def +++ b/include/wabt/token.def @@ -105,6 +105,8 @@ WABT_TOKEN(CallIndirect, "call_indirect") WABT_TOKEN(CallRef, "call_ref") WABT_TOKEN(Catch, "catch") WABT_TOKEN(CatchAll, "catch_all") +WABT_TOKEN(CatchRef, "catch_ref") +WABT_TOKEN(CatchAllRef, "catch_all_ref") WABT_TOKEN(Compare, "COMPARE") WABT_TOKEN(Const, "CONST") WABT_TOKEN(Convert, "CONVERT") @@ -151,7 +153,9 @@ WABT_TOKEN(TableSet, "table.set") WABT_TOKEN(TableSize, "table.size") WABT_TOKEN(Ternary, "TERNARY") WABT_TOKEN(Throw, "throw") +WABT_TOKEN(ThrowRef, "throw_ref") WABT_TOKEN(Try, "try") +WABT_TOKEN(TryTable, "try_table") WABT_TOKEN(Unary, "UNARY") WABT_TOKEN(Unreachable, "unreachable") WABT_TOKEN_FIRST(Opcode, AtomicFence) -- cgit v1.2.3