summaryrefslogtreecommitdiff
path: root/src/wasm/wasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r--src/wasm/wasm.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp
index 52d2af0c6..13085ca17 100644
--- a/src/wasm/wasm.cpp
+++ b/src/wasm/wasm.cpp
@@ -200,8 +200,6 @@ const char* getExpressionName(Expression* curr) {
return "throw";
case Expression::Id::RethrowId:
return "rethrow";
- case Expression::Id::BrOnExnId:
- return "br_on_exn";
case Expression::Id::TupleMakeId:
return "tuple.make";
case Expression::Id::TupleExtractId:
@@ -976,14 +974,6 @@ void Throw::finalize() { type = Type::unreachable; }
void Rethrow::finalize() { type = Type::unreachable; }
-void BrOnExn::finalize() {
- if (exnref->type == Type::unreachable) {
- type = Type::unreachable;
- } else {
- type = Type::exnref;
- }
-}
-
void TupleMake::finalize() {
std::vector<Type> types;
for (auto* op : operands) {