Remove unneeded semicolon.

Skip two looking up at BlockChain.

llvm-svn: 146053
This commit is contained in:
Jakub Staszak 2011-12-07 19:46:10 +00:00
parent ba45b3faf4
commit 190c712f73
1 changed files with 3 additions and 3 deletions

View File

@ -530,7 +530,7 @@ void MachineBlockPlacement::buildChain(
markChainSuccessors(SuccChain, LoopHeaderBB, BlockWorkList, BlockFilter);
Chain.merge(BestSucc, &SuccChain);
BB = *llvm::prior(Chain.end());
};
}
DEBUG(dbgs() << "Finished forming chain for header block "
<< getBlockNum(*Chain.begin()) << "\n");
@ -681,8 +681,8 @@ void MachineBlockPlacement::buildLoopChains(MachineFunction &F,
// walk the blocks, and use a set to prevent visiting a particular chain
// twice.
SmallPtrSet<BlockChain *, 4> UpdatedPreds;
assert(BlockToChain[LayoutTop]->LoopPredecessors == 0);
UpdatedPreds.insert(BlockToChain[LayoutTop]);
assert(LoopChain.LoopPredecessors == 0);
UpdatedPreds.insert(&LoopChain);
for (MachineLoop::block_iterator BI = L.block_begin(),
BE = L.block_end();
BI != BE; ++BI) {