diff options
| author | Duncan Sands <baldrick@free.fr> | 2007-11-15 09:54:37 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2007-11-15 09:54:37 +0000 |
| commit | d4494352f8b48490a42660ff825363fa69474355 (patch) | |
| tree | 9b4f03e4fe9a79fd79407f5a08c8e2427a246d49 /llvm/lib/CodeGen | |
| parent | 2c1a50455c53b9b58dd0d0b38230be4955c9f5d5 (diff) | |
| download | bcm5719-llvm-d4494352f8b48490a42660ff825363fa69474355.tar.gz bcm5719-llvm-d4494352f8b48490a42660ff825363fa69474355.zip | |
This assertion was bogus.
llvm-svn: 44167
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 5c2765b9168..c078f23c20e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -4492,14 +4492,13 @@ LowerArguments(BasicBlock *LLVMBB, SelectionDAGLowering &SDL, static void copyCatchInfo(BasicBlock *SrcBB, BasicBlock *DestBB, MachineModuleInfo *MMI, FunctionLoweringInfo &FLI) { - assert(!FLI.MBBMap[SrcBB]->isLandingPad() && - "Copying catch info out of a landing pad!"); for (BasicBlock::iterator I = SrcBB->begin(), E = --SrcBB->end(); I != E; ++I) if (isSelector(I)) { // Apply the catch info to DestBB. addCatchInfo(cast<CallInst>(*I), MMI, FLI.MBBMap[DestBB]); #ifndef NDEBUG - FLI.CatchInfoFound.insert(I); + if (!FLI.MBBMap[SrcBB]->isLandingPad()) + FLI.CatchInfoFound.insert(I); #endif } } |

