summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-03 01:07:57 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-03 01:07:57 +0000
commit035ea32870e4c1cae21f18fe40f30b7e64e24e60 (patch)
tree66598b86bbdf8590166efcfc1b2e86e184ce32f8
parentb53cb271ca371737a0114cb5b61688e6f523e73e (diff)
downloadbcm5719-llvm-035ea32870e4c1cae21f18fe40f30b7e64e24e60.tar.gz
bcm5719-llvm-035ea32870e4c1cae21f18fe40f30b7e64e24e60.zip
Add this back in for now. There are still a few passes which create unwind instructions at the moment.
llvm-svn: 136756
-rw-r--r--llvm/lib/Analysis/PathNumbering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/PathNumbering.cpp b/llvm/lib/Analysis/PathNumbering.cpp
index 070836529c0..0e3b6e69ce3 100644
--- a/llvm/lib/Analysis/PathNumbering.cpp
+++ b/llvm/lib/Analysis/PathNumbering.cpp
@@ -387,7 +387,7 @@ void BallLarusDag::buildNode(BLBlockNodeMap& inDag, BLNodeStack& dfsStack) {
TerminatorInst* terminator = currentNode->getBlock()->getTerminator();
if(isa<ReturnInst>(terminator) || isa<UnreachableInst>(terminator)
- || isa<ResumeInst>(terminator))
+ || isa<ResumeInst>(terminator) || isa<UnwindInst>(terminator))
addEdge(currentNode, getExit(),0);
currentNode->setColor(BallLarusNode::GRAY);
OpenPOWER on IntegriCloud