Fix PR575, patch provided by John Mellor-Crummey. Thanks!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22223 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-06-15 22:49:30 +00:00
parent 065e4208a9
commit d286b245be

View File

@ -459,6 +459,7 @@ void LowerSetJmp::visitCallInst(CallInst& CI)
BasicBlock* NewBB = OldBB->splitBasicBlock(CI);
assert(NewBB && "Couldn't split BB of \"call\" instruction!!");
DFSBlocks.insert(NewBB);
NewBB->setName("Call2Invoke");
Function* Func = OldBB->getParent();