Skip to content

Commit ff21062

Browse files
committed
WI #2014 Change Review
1 parent 9dcd9e1 commit ff21062

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

TypeCobol.Analysis/Graph/ControlFlowGraph.Dominator.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public Tuple<List<int>,BitSet[]> ComputeDominators()
4444
if (n == this.RootBlock.Index)
4545
continue;
4646
BasicBlock<N, D> b = this.AllBlocks[n];
47-
if (b.PredecessorEdges == null)
48-
continue;
47+
System.Diagnostics.Debug.Assert(b.PredecessorEdges != null);
4948
workSet.Full();
5049
foreach (int r in b.PredecessorEdges)
5150
{

0 commit comments

Comments
 (0)