Add accessor function for the PruneEH pass
authorChris Lattner <sabre@nondot.org>
Sun, 31 Aug 2003 16:30:25 +0000 (16:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 31 Aug 2003 16:30:25 +0000 (16:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8254 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/IPO.h

index e86dd3d71bf4b34b8c1dfd97819d32707737025d..1ae3c81b469f9faa3f2d94dcb53a76b3724e2db1 100644 (file)
@@ -61,6 +61,12 @@ Pass *createFunctionResolvingPass();
 //
 Pass *createFunctionInliningPass();
 
 //
 Pass *createFunctionInliningPass();
 
+//===----------------------------------------------------------------------===//
+// createPruneEHPass - Return a new pass object which transforms invoke
+// instructions into calls, if the callee can _not_ unwind the stack.
+//
+Pass *createPruneEHPass();
+
 //===----------------------------------------------------------------------===//
 // createInternalizePass - This pass loops over all of the functions in the
 // input module, looking for a main function.  If a main function is found, all
 //===----------------------------------------------------------------------===//
 // createInternalizePass - This pass loops over all of the functions in the
 // input module, looking for a main function.  If a main function is found, all