summaryrefslogtreecommitdiff
path: root/src/parsing.h
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2021-01-22 18:07:46 +0900
committerGitHub <noreply@github.com>2021-01-22 18:07:46 +0900
commit6d62e3c4be466888239a89c2e98713f60074aaea (patch)
treef2b55ef6eed4be74c2faee998f15ab46231083a9 /src/parsing.h
parent69ff866fc7e54f25d8d8598581aa3553cb87603b (diff)
downloadbinaryen-6d62e3c4be466888239a89c2e98713f60074aaea.tar.gz
binaryen-6d62e3c4be466888239a89c2e98713f60074aaea.tar.bz2
binaryen-6d62e3c4be466888239a89c2e98713f60074aaea.zip
Remove exnref and br_on_exn (#3505)
This removes `exnref` type and `br_on_exn` instruction.
Diffstat (limited to 'src/parsing.h')
-rw-r--r--src/parsing.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/parsing.h b/src/parsing.h
index 68c94c4a6..68647901a 100644
--- a/src/parsing.h
+++ b/src/parsing.h
@@ -264,7 +264,6 @@ parseConst(cashew::IString s, Type type, MixedArena& allocator) {
case Type::v128:
case Type::funcref:
case Type::externref:
- case Type::exnref:
case Type::anyref:
case Type::eqref:
case Type::i31ref:
@@ -376,9 +375,6 @@ struct UniqueNameMapper {
void visitBreak(Break* curr) {
curr->name = mapper.sourceToUnique(curr->name);
}
- void visitBrOnExn(BrOnExn* curr) {
- curr->name = mapper.sourceToUnique(curr->name);
- }
void visitSwitch(Switch* curr) {
for (auto& target : curr->targets) {
target = mapper.sourceToUnique(target);