Fix PR575, patch provided by John Mellor-Crummey. Thanks!
authorChris Lattner <sabre@nondot.org>
Wed, 15 Jun 2005 22:49:30 +0000 (22:49 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Jun 2005 22:49:30 +0000 (22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22223 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/LowerSetJmp.cpp

index 7300aa8f19a7decfefb9ba77f6349e87e67c2e22..c040025115bdb5e0a9f5f09e2cd2faefade9e708 100644 (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();