Add this back in for now. There are still a few passes which create unwind instructions at the moment.

llvm-svn: 136756
This commit is contained in:
Bill Wendling 2011-08-03 01:07:57 +00:00
parent b53cb271ca
commit 035ea32870

View File

@ -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);