summaryrefslogtreecommitdiff
path: root/src/validator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/validator.cc')
-rw-r--r--src/validator.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/validator.cc b/src/validator.cc
index e192ff98..b98121d4 100644
--- a/src/validator.cc
+++ b/src/validator.cc
@@ -135,7 +135,6 @@ class Validator : public ExprVisitor::Delegate {
Result OnUnreachableExpr(UnreachableExpr*) override;
Result BeginTryExpr(TryExpr*) override;
Result OnCatchExpr(TryExpr*, Catch*) override;
- Result OnUnwindExpr(TryExpr*) override;
Result OnDelegateExpr(TryExpr*) override;
Result EndTryExpr(TryExpr*) override;
Result OnThrowExpr(ThrowExpr*) override;
@@ -499,11 +498,6 @@ Result Validator::OnCatchExpr(TryExpr*, Catch* catch_) {
return Result::Ok;
}
-Result Validator::OnUnwindExpr(TryExpr* expr) {
- result_ |= validator_.OnUnwind(expr->loc);
- return Result::Ok;
-}
-
Result Validator::OnDelegateExpr(TryExpr* expr) {
result_ |= validator_.OnDelegate(expr->loc, expr->delegate_target);
return Result::Ok;