summaryrefslogtreecommitdiff
path: root/src/validator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/validator.cc')
-rw-r--r--src/validator.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/validator.cc b/src/validator.cc
index ade15462..d52efb97 100644
--- a/src/validator.cc
+++ b/src/validator.cc
@@ -524,12 +524,7 @@ Result Validator::OnReturnCallIndirectExpr(ReturnCallIndirectExpr* expr) {
Result Validator::OnSelectExpr(SelectExpr* expr) {
result_ |= validator_.OnSelect(expr->loc, expr->result_type.size(),
expr->result_type.data());
- // TODO: Existing behavior fails when select fails.
-#if 0
return Result::Ok;
-#else
- return result_;
-#endif
}
Result Validator::OnStoreExpr(StoreExpr* expr) {