We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 312f83f commit 1aff294Copy full SHA for 1aff294
bolt/lib/Core/BinaryBasicBlock.cpp
@@ -131,11 +131,10 @@ bool BinaryBasicBlock::validateSuccessorInvariants() {
131
break;
132
}
133
case 2:
134
- Valid = (CondBranch &&
135
- (TBB == getConditionalSuccessor(true)->getLabel() &&
136
- ((!UncondBranch && !FBB) ||
137
- (UncondBranch &&
138
- FBB == getConditionalSuccessor(false)->getLabel()))));
+ Valid =
+ CondBranch && TBB == getConditionalSuccessor(true)->getLabel() &&
+ (UncondBranch ? FBB == getConditionalSuccessor(false)->getLabel()
+ : !FBB);
139
140
141
0 commit comments