Skip to content

Commit 24ae8e1

Browse files
committed
Fix failing assertion
1 parent 927dd9e commit 24ae8e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/Core/AST/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,8 @@ public Graph<Block> ProcessLoops(CoreOptions options, Implementation impl)
552552
impl.ConvertToReducible(options);
553553
g = GraphFromImpl(impl);
554554
}
555+
556+
g.ComputeLoops();
555557
Contract.Assert(g.Reducible);
556558
return g;
557559
}

0 commit comments

Comments
 (0)