summaryrefslogtreecommitdiff
path: root/src/dataflow/graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dataflow/graph.h')
-rw-r--r--src/dataflow/graph.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dataflow/graph.h b/src/dataflow/graph.h
index 6a984ad72..114a38f11 100644
--- a/src/dataflow/graph.h
+++ b/src/dataflow/graph.h
@@ -230,6 +230,9 @@ struct Graph : public UnifiedExpressionVisitor<Graph, Node*> {
return doVisitUnreachable(unreachable);
} else if (auto* drop = curr->dynCast<Drop>()) {
return doVisitDrop(drop);
+ } else if (curr->is<Try>() || curr->is<Throw>() || curr->is<Rethrow>() ||
+ curr->is<BrOnExn>()) {
+ Fatal() << "DataFlow does not support EH instructions yet";
} else {
return doVisitGeneric(curr);
}