summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-06-15 22:49:30 +0000
committerChris Lattner <sabre@nondot.org>2005-06-15 22:49:30 +0000
commitd48b127aeaaee0041d36fbb83855699e721e2c4f (patch)
treeb5d7995c0edde08455c9d217b603006be1a99624 /llvm/lib
parent0c2be5094c0806243fc570043f330cef401b22e1 (diff)
downloadbcm5719-llvm-d48b127aeaaee0041d36fbb83855699e721e2c4f.tar.gz
bcm5719-llvm-d48b127aeaaee0041d36fbb83855699e721e2c4f.zip
Fix PR575, patch provided by John Mellor-Crummey. Thanks!
llvm-svn: 22223
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/IPO/LowerSetJmp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/IPO/LowerSetJmp.cpp b/llvm/lib/Transforms/IPO/LowerSetJmp.cpp
index 7300aa8f19a..c040025115b 100644
--- a/llvm/lib/Transforms/IPO/LowerSetJmp.cpp
+++ b/llvm/lib/Transforms/IPO/LowerSetJmp.cpp
@@ -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();
OpenPOWER on IntegriCloud