Minor code cleanup. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263196 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Junmo Park 2016-03-11 05:07:07 +00:00
parent 1ac3fbac0f
commit c1b22faefa

View File

@ -530,7 +530,7 @@ MachineBasicBlock *MachineBlockPlacement::selectBestCandidateBlock(
BlockChain &SuccChain = *BlockToChain[MBB];
if (&SuccChain == &Chain)
continue;
assert(SuccChain.UnscheduledPredecessors == 0 && "Found CFG-violating block");
BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB);