mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 13:08:00 +00:00
This assertion was bogus.
llvm-svn: 44167
This commit is contained in:
parent
c19506f69d
commit
895e6284a9
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user