[llvm-branch-commits] [llvm-branch] r136146 - /llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp
Bill Wendling
isanbard at gmail.com
Tue Jul 26 14:01:44 PDT 2011
Author: void
Date: Tue Jul 26 16:01:44 2011
New Revision: 136146
URL: http://llvm.org/viewvc/llvm-project?rev=136146&view=rev
Log:
The ResumeInst has no successors. Don't process it.
Modified:
llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp
Modified: llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp?rev=136146&r1=136145&r2=136146&view=diff
==============================================================================
--- llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp (original)
+++ llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp Tue Jul 26 16:01:44 2011
@@ -528,6 +528,7 @@
visitTerminatorInst(II);
}
void visitCallSite (CallSite CS);
+ void visitResumeInst (TerminatorInst &I) { /*returns void*/ }
void visitUnwindInst (TerminatorInst &I) { /*returns void*/ }
void visitUnreachableInst(TerminatorInst &I) { /*returns void*/ }
void visitAllocaInst (Instruction &I) { markOverdefined(&I); }
More information about the llvm-branch-commits
mailing list