projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f5beed
)
Replace the 'UnwindInst' check with a check for 'ResumeInst', which also exits
author
Bill Wendling
<isanbard@gmail.com>
Wed, 3 Aug 2011 00:30:19 +0000
(
00:30
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 3 Aug 2011 00:30:19 +0000
(
00:30
+0000)
the function, because the UnwindInst is going away.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136751
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/PathNumbering.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/PathNumbering.cpp
b/lib/Analysis/PathNumbering.cpp
index 7c584daef73499c3944ea3963165d429980db643..070836529c00f53c40b9932bf1ee058107e591ed 100644
(file)
--- 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<
Unwind
Inst>(terminator))
+ || isa<
Resume
Inst>(terminator))
addEdge(currentNode, getExit(),0);
currentNode->setColor(BallLarusNode::GRAY);