From 28e88b9f993a2e45662fde0b10920aa22e7b1b7f Mon Sep 17 00:00:00 2001
From: Heejin Ahn <aheejin@gmail.com>
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
---
 src/wasm/wasm-interpreter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/wasm/wasm-interpreter.cpp')

diff --git a/src/wasm/wasm-interpreter.cpp b/src/wasm/wasm-interpreter.cpp
index f37758808..b49eeef4b 100644
--- a/src/wasm/wasm-interpreter.cpp
+++ b/src/wasm/wasm-interpreter.cpp
@@ -20,7 +20,7 @@ void Indenter::print() {
 #endif // WASM_INTERPRETER_DEBUG
 
 std::ostream& operator<<(std::ostream& o, const WasmException& exn) {
-  return o << exn.event << " " << exn.values;
+  return o << exn.tag << " " << exn.values;
 }
 
 } // namespace wasm
-- 
cgit v1.2.3