[llvm] r214416 - Fix loop end condition.
Eric Christopher
echristo at gmail.com
Thu Jul 31 11:28:08 PDT 2014
Author: echristo
Date: Thu Jul 31 13:28:08 2014
New Revision: 214416
URL: http://llvm.org/viewvc/llvm-project?rev=214416&view=rev
Log:
Fix loop end condition.
Note: This code appears to be untested.
Modified:
llvm/trunk/lib/MC/MCAnalysis/MCObjectDisassembler.cpp
Modified: llvm/trunk/lib/MC/MCAnalysis/MCObjectDisassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAnalysis/MCObjectDisassembler.cpp?rev=214416&r1=214415&r2=214416&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCAnalysis/MCObjectDisassembler.cpp (original)
+++ llvm/trunk/lib/MC/MCAnalysis/MCObjectDisassembler.cpp Thu Jul 31 13:28:08 2014
@@ -450,7 +450,7 @@ MCBasicBlock *MCObjectDisassembler::getB
RemoveDupsFromAddressVector(BBI->SuccAddrs);
for (AddressSetTy::const_iterator SI = BBI->SuccAddrs.begin(),
SE = BBI->SuccAddrs.end();
- SE != SE; ++SI) {
+ SI != SE; ++SI) {
MCBasicBlock *Succ = BBInfos[*SI].BB;
BB->addSuccessor(Succ);
Succ->addPredecessor(BB);
More information about the llvm-commits
mailing list