diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-02-06 21:16:41 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-02-06 21:16:41 +0000 |
commit | d5d95b0b510a1cf6b4b72b444649178113bd05bd (patch) | |
tree | bda4a63191623f1cc7339aa065478215398764e7 /llvm/lib/Analysis/PathNumbering.cpp | |
parent | a2791f8aeb2ea2b439c7a8cbb4bd2fe781f21c34 (diff) | |
download | bcm5719-llvm-d5d95b0b510a1cf6b4b72b444649178113bd05bd.tar.gz bcm5719-llvm-d5d95b0b510a1cf6b4b72b444649178113bd05bd.zip |
[unwind removal] We no longer have 'unwind' instructions being generated, so
remove the code that handles them.
llvm-svn: 149901
Diffstat (limited to 'llvm/lib/Analysis/PathNumbering.cpp')
-rw-r--r-- | llvm/lib/Analysis/PathNumbering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/PathNumbering.cpp b/llvm/lib/Analysis/PathNumbering.cpp index 0e3b6e69ce3..80c5222a27a 100644 --- a/llvm/lib/Analysis/PathNumbering.cpp +++ b/llvm/lib/Analysis/PathNumbering.cpp @@ -386,8 +386,8 @@ void BallLarusDag::buildNode(BLBlockNodeMap& inDag, BLNodeStack& dfsStack) { } TerminatorInst* terminator = currentNode->getBlock()->getTerminator(); - if(isa<ReturnInst>(terminator) || isa<UnreachableInst>(terminator) - || isa<ResumeInst>(terminator) || isa<UnwindInst>(terminator)) + if(isa<ReturnInst>(terminator) || isa<UnreachableInst>(terminator) || + isa<ResumeInst>(terminator)) addEdge(currentNode, getExit(),0); currentNode->setColor(BallLarusNode::GRAY); |