Skip to content

Commit

Permalink
cg: Update ChooseExpr visitor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jezurko committed Sep 4, 2024
1 parent d1f099c commit 89a8f9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/vast/CodeGen/DefaultStmtVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,7 @@ namespace vast::cg
.bind_always(mk_cond_builder(expr->getCond()))
.bind_always(mk_value_builder(expr->getLHS()))
.bind_always(mk_value_builder(expr->getRHS()))
.bind_always(expr->isConditionDependent() ? std::nullopt : std::optional(expr->isConditionTrue()))
.freeze();
}

Expand Down

0 comments on commit 89a8f9b

Please sign in to comment.