[llvm] r176391 - Remove duplicate line and move another closer to its actual use
Eli Bendersky
eliben at google.com
Fri Mar 1 15:32:41 PST 2013
Author: eliben
Date: Fri Mar 1 17:32:40 2013
New Revision: 176391
URL: http://llvm.org/viewvc/llvm-project?rev=176391&view=rev
Log:
Remove duplicate line and move another closer to its actual use
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp?rev=176391&r1=176390&r2=176391&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Fri Mar 1 17:32:40 2013
@@ -1032,13 +1032,11 @@ void SelectionDAGISel::SelectAllBasicBlo
FuncInfo->VisitedBBs.insert(LLVMBB);
}
- FuncInfo->MBB = FuncInfo->MBBMap[LLVMBB];
- FuncInfo->InsertPt = FuncInfo->MBB->getFirstNonPHI();
-
BasicBlock::const_iterator const Begin = LLVMBB->getFirstNonPHI();
BasicBlock::const_iterator const End = LLVMBB->end();
BasicBlock::const_iterator BI = End;
+ FuncInfo->MBB = FuncInfo->MBBMap[LLVMBB];
FuncInfo->InsertPt = FuncInfo->MBB->getFirstNonPHI();
// Setup an EH landing-pad block.
More information about the llvm-commits
mailing list