diff options
Diffstat (limited to 'src/expr-visitor.cc')
-rw-r--r-- | src/expr-visitor.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/expr-visitor.cc b/src/expr-visitor.cc index 3f80d3d7..ef6fb441 100644 --- a/src/expr-visitor.cc +++ b/src/expr-visitor.cc @@ -286,6 +286,15 @@ Result ExprVisitor::HandleDefaultState(Expr* expr) { CHECK_RESULT(delegate_->OnReturnExpr(cast<ReturnExpr>(expr))); break; + case ExprType::ReturnCall: + CHECK_RESULT(delegate_->OnReturnCallExpr(cast<ReturnCallExpr>(expr))); + break; + + case ExprType::ReturnCallIndirect: + CHECK_RESULT(delegate_->OnReturnCallIndirectExpr( + cast<ReturnCallIndirectExpr>(expr))); + break; + case ExprType::Select: CHECK_RESULT(delegate_->OnSelectExpr(cast<SelectExpr>(expr))); break; |