diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-31 16:30:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-31 16:30:25 +0000 |
commit | fa7f524162448d37feaa0e941a28c89ddca54e72 (patch) | |
tree | 82e4f69d0cbca95096e2777951b987da95b0bf9c /include/llvm/Transforms | |
parent | f6fb96f5591de185f45ba8cd6ba3a3d98e04a86d (diff) | |
download | external_llvm-fa7f524162448d37feaa0e941a28c89ddca54e72.zip external_llvm-fa7f524162448d37feaa0e941a28c89ddca54e72.tar.gz external_llvm-fa7f524162448d37feaa0e941a28c89ddca54e72.tar.bz2 |
Add accessor function for the PruneEH pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/IPO.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index e86dd3d..1ae3c81 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -62,6 +62,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 // other functions are marked as internal. |