Skip to content

Commit 625d747

Browse files
author
Your Name
committed
Fix hang
1 parent 3693a29 commit 625d747

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

lib/forwardanalyzer.cpp

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -562,14 +562,12 @@ namespace {
562562
forkContinue = false;
563563
}
564564

565-
if (!forkContinue) {
566-
// TODO: Don't bail on missing condition
567-
if (!condTok)
568-
return Break(Analyzer::Terminate::Bail);
569-
if (analyzer->isConditional() && stopUpdates())
570-
return Break(Analyzer::Terminate::Conditional);
571-
analyzer->assume(condTok, false);
572-
}
565+
// TODO: Don't bail on missing condition
566+
if (!condTok)
567+
return Break(Analyzer::Terminate::Bail);
568+
if (analyzer->isConditional() && stopUpdates())
569+
return Break(Analyzer::Terminate::Conditional);
570+
analyzer->assume(condTok, false);
573571
if (forkContinue) {
574572
for (ForwardTraversal& ft : ftv) {
575573
if (!ft.actions.isIncremental())

0 commit comments

Comments
 (0)