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/example/module-splitting.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/example/module-splitting.cpp') diff --git a/test/example/module-splitting.cpp b/test/example/module-splitting.cpp index 9ff2818be..a379717f1 100644 --- a/test/example/module-splitting.cpp +++ b/test/example/module-splitting.cpp @@ -76,7 +76,7 @@ int main() { (memory $mem (shared 3 42)) (table $tab 3 42 funcref) (global $glob (mut i32) (i32.const 7)) - (event $e (attr 0) (param i32)) + (tag $e (attr 0) (param i32)) ))"); // Imported global stuff @@ -85,7 +85,7 @@ int main() { (import "env" "mem" (memory $mem (shared 3 42))) (import "env" "tab" (table $tab 3 42 funcref)) (import "env" "glob" (global $glob (mut i32))) - (import "env" "e" (event $e (attr 0) (param i32))) + (import "env" "e" (tag $e (attr 0) (param i32))) ))"); // Exported global stuff @@ -94,11 +94,11 @@ int main() { (memory $mem (shared 3 42)) (table $tab 3 42 funcref) (global $glob (mut i32) (i32.const 7)) - (event $e (attr 0) (param i32)) + (tag $e (attr 0) (param i32)) (export "mem" (memory $mem)) (export "tab" (table $tab)) (export "glob" (global $glob)) - (export "e" (event $e)) + (export "e" (tag $e)) ))"); // Non-deferred function -- cgit v1.2.3