[llvm-commits] [llvm] r136756 - /llvm/trunk/lib/Analysis/PathNumbering.cpp
Bill Wendling
isanbard at gmail.com
Tue Aug 2 18:07:57 PDT 2011
Author: void
Date: Tue Aug 2 20:07:57 2011
New Revision: 136756
URL: http://llvm.org/viewvc/llvm-project?rev=136756&view=rev
Log:
Add this back in for now. There are still a few passes which create unwind instructions at the moment.
Modified:
llvm/trunk/lib/Analysis/PathNumbering.cpp
Modified: llvm/trunk/lib/Analysis/PathNumbering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/PathNumbering.cpp?rev=136756&r1=136755&r2=136756&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/PathNumbering.cpp (original)
+++ llvm/trunk/lib/Analysis/PathNumbering.cpp Tue Aug 2 20:07:57 2011
@@ -387,7 +387,7 @@
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);
More information about the llvm-commits
mailing list