From: Bill Wendling Date: Wed, 3 Aug 2011 00:30:19 +0000 (+0000) Subject: Replace the 'UnwindInst' check with a check for 'ResumeInst', which also exits X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=19308a1ea1c34e3dbed7b801408b2a8fcaba73f5;p=oota-llvm.git Replace the 'UnwindInst' check with a check for 'ResumeInst', which also exits 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 --- diff --git a/lib/Analysis/PathNumbering.cpp b/lib/Analysis/PathNumbering.cpp index 7c584daef73..070836529c0 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(terminator) || isa(terminator) - || isa(terminator)) + || isa(terminator)) addEdge(currentNode, getExit(),0); currentNode->setColor(BallLarusNode::GRAY);