From 6d62e3c4be466888239a89c2e98713f60074aaea Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Fri, 22 Jan 2021 18:07:46 +0900 Subject: Remove exnref and br_on_exn (#3505) This removes `exnref` type and `br_on_exn` instruction. --- src/ir/branch-utils.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ir/branch-utils.h') diff --git a/src/ir/branch-utils.h b/src/ir/branch-utils.h index 2e7ef470d..5e2cc5184 100644 --- a/src/ir/branch-utils.h +++ b/src/ir/branch-utils.h @@ -80,8 +80,6 @@ void operateOnScopeNameUsesAndSentTypes(Expression* expr, T func) { func(name, br->value ? br->value->type : Type::none); } else if (auto* sw = expr->dynCast()) { func(name, sw->value ? sw->value->type : Type::none); - } else if (auto* br = expr->dynCast()) { - func(name, br->sent); } else if (auto* br = expr->dynCast()) { func(name, br->getCastType()); } else { -- cgit v1.2.3