From 28e88b9f993a2e45662fde0b10920aa22e7b1b7f Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Fri, 18 Jun 2021 14:20:03 -0700 Subject: [EH] Replace event with tag (#3937) We recently decided to change 'event' to 'tag', and to 'event section' to 'tag section', out of the rationale that the section contains a generalized tag that references a type, which may be used for something other than exceptions, and the name 'event' can be confusing in the web context. See - https://github.com/WebAssembly/exception-handling/issues/159#issuecomment-857910130 - https://github.com/WebAssembly/exception-handling/pull/161 --- test/reference-types.wast.fromBinary | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/reference-types.wast.fromBinary') diff --git a/test/reference-types.wast.fromBinary b/test/reference-types.wast.fromBinary index 00b621f44..57ef2f08b 100644 --- a/test/reference-types.wast.fromBinary +++ b/test/reference-types.wast.fromBinary @@ -20,7 +20,7 @@ (table $0 3 3 funcref) (elem (i32.const 0) $take_externref $take_funcref $take_anyref) (elem declare func $foo $ref-taken-but-not-in-table) - (event $event$0 (attr 0) (param i32)) + (tag $tag$0 (attr 0) (param i32)) (export "export_func" (func $import_func)) (export "export_global" (global $import_global)) (func $take_externref (param $0 externref) @@ -512,7 +512,7 @@ (do (local.get $local_externref) ) - (catch $event$0 + (catch $tag$0 (drop (pop i32) ) @@ -525,7 +525,7 @@ (do (ref.func $foo) ) - (catch $event$0 + (catch $tag$0 (drop (pop i32) ) @@ -538,7 +538,7 @@ (do (local.get $local_externref) ) - (catch $event$0 + (catch $tag$0 (drop (pop i32) ) @@ -551,7 +551,7 @@ (do (ref.func $foo) ) - (catch $event$0 + (catch $tag$0 (drop (pop i32) ) -- cgit v1.2.3