diff options
| author | Dan Gohman <gohman@apple.com> | 2010-04-14 16:32:56 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-04-14 16:32:56 +0000 |
| commit | 69e8e322d9744a3298add4ebbe45a19d29942b13 (patch) | |
| tree | 43d08cde45ab4817c5b2a79a66d1a40b3eb1848a /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
| parent | f57117d166a4dab0f26a7d09e2bbe010191962fe (diff) | |
| download | bcm5719-llvm-69e8e322d9744a3298add4ebbe45a19d29942b13.tar.gz bcm5719-llvm-69e8e322d9744a3298add4ebbe45a19d29942b13.zip | |
Sink landing-pad marking code out of
SelectionDAGISel::runOnMachineFunction into FunctionLowering.
llvm-svn: 101252
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index c7cc695d6be..6067b1fded3 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -332,11 +332,6 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { FuncInfo->set(Fn, *MF, EnableFastISel); SDB->init(GFI, *AA); - for (Function::iterator I = Fn.begin(), E = Fn.end(); I != E; ++I) - if (InvokeInst *Invoke = dyn_cast<InvokeInst>(I->getTerminator())) - // Mark landing pad. - FuncInfo->MBBMap[Invoke->getSuccessor(1)]->setIsLandingPad(); - SelectAllBasicBlocks(Fn, *MF, TII); // If the first basic block in the function has live ins that need to be |

