mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01: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:
parent
82418c24b8
commit
752f75c8ce
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user