From: Chris Lattner Date: Sun, 31 Aug 2003 16:30:25 +0000 (+0000) Subject: Add accessor function for the PruneEH pass X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=fa7f524162448d37feaa0e941a28c89ddca54e72 Add accessor function for the PruneEH pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8254 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index e86dd3d71bf..1ae3c81b469 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -61,6 +61,12 @@ Pass *createFunctionResolvingPass(); // 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