diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-08-03 01:07:57 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-08-03 01:07:57 +0000 |
commit | d0c0d444592a0fea209ea99ebcd1be274eee6692 (patch) | |
tree | eb251a0ec1367af33e6b4477a5238e05cfdf12b3 | |
parent | d5061a9268d04c80af764291ef93fe3f7b51f0de (diff) |
Add this back in for now. There are still a few passes which create unwind instructions at the moment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136756 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/PathNumbering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/PathNumbering.cpp b/lib/Analysis/PathNumbering.cpp index 070836529c..0e3b6e69ce 100644 --- a/lib/Analysis/PathNumbering.cpp +++ b/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); |