1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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 82418c24b8
commit 752f75c8ce

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