summaryrefslogtreecommitdiff
path: root/src/ir/cost.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/cost.h')
-rw-r--r--src/ir/cost.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ir/cost.h b/src/ir/cost.h
index 7f8e39e1b..46213880b 100644
--- a/src/ir/cost.h
+++ b/src/ir/cost.h
@@ -562,9 +562,6 @@ struct CostAnalyzer : public OverriddenVisitor<CostAnalyzer, Index> {
return ret;
}
Index visitRethrow(Rethrow* curr) { return 100; }
- Index visitBrOnExn(BrOnExn* curr) {
- return 1 + visit(curr->exnref) + curr->sent.size();
- }
Index visitTupleMake(TupleMake* curr) {
Index ret = 0;
for (auto* child : curr->operands) {