summaryrefslogtreecommitdiff
path: root/src/passes/Flatten.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Flatten.cpp')
-rw-r--r--src/passes/Flatten.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/passes/Flatten.cpp b/src/passes/Flatten.cpp
index ebd0f3ba8..94544ae25 100644
--- a/src/passes/Flatten.cpp
+++ b/src/passes/Flatten.cpp
@@ -69,8 +69,7 @@ struct Flatten
return;
}
- if (curr->is<Try>() || curr->is<Throw>() || curr->is<Rethrow>() ||
- curr->is<BrOnExn>()) {
+ if (curr->is<Try>() || curr->is<Throw>() || curr->is<Rethrow>()) {
Fatal() << "Flatten does not support EH instructions yet";
}
@@ -277,7 +276,6 @@ struct Flatten
}
}
}
- // TODO Handle br_on_exn
// continue for general handling of everything, control flow or otherwise
curr = getCurrent(); // we may have replaced it