diff options
author | Eli Bendersky <eliben@google.com> | 2013-03-01 23:32:40 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2013-03-01 23:32:40 +0000 |
commit | b1caf3c30e6a72b37379600872e253da4d18178e (patch) | |
tree | 7c5178ec9985d899064de933dad7f4a95c8da862 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 3821d9d028a32c3e77d1517d2c648bc701dd8604 (diff) | |
download | bcm5719-llvm-b1caf3c30e6a72b37379600872e253da4d18178e.tar.gz bcm5719-llvm-b1caf3c30e6a72b37379600872e253da4d18178e.zip |
Remove duplicate line and move another closer to its actual use
llvm-svn: 176391
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index c454514e7c8..1801300fc6b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -1032,13 +1032,11 @@ void SelectionDAGISel::SelectAllBasicBlocks(const Function &Fn) { 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. |