diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-09-15 05:05:23 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-09-15 05:05:23 +0000 |
| commit | 1f86982f3dbd935986b83bced5f35e6a60316f2b (patch) | |
| tree | 3f43963832c6428510ec2c2b1ca033ceb1566a10 | |
| parent | cf82b00eb5bc26e1116244c2ee453eb404f2ecd2 (diff) | |
| download | bcm5719-llvm-1f86982f3dbd935986b83bced5f35e6a60316f2b.tar.gz bcm5719-llvm-1f86982f3dbd935986b83bced5f35e6a60316f2b.zip | |
Add prototype for the lowersetjmp pass
llvm-svn: 8522
| -rw-r--r-- | llvm/include/llvm/Transforms/IPO.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/include/llvm/Transforms/IPO.h b/llvm/include/llvm/Transforms/IPO.h index 4f0809a69db..0da65307529 100644 --- a/llvm/include/llvm/Transforms/IPO.h +++ b/llvm/include/llvm/Transforms/IPO.h @@ -12,6 +12,13 @@ class Pass; class Function; //===----------------------------------------------------------------------===// +// createLowerSetJmpPass - This function lowers the setjmp/longjmp intrinsics to +// invoke/unwind instructions. This should really be part of the C/C++ +// front-end, but it's so much easier to write transformations in LLVM proper. +// +Pass* createLowerSetJmpPass(); + +//===----------------------------------------------------------------------===// // createConstantMergePass - This function returns a new pass that merges // duplicate global constants together into a single constant that is shared. // This is useful because some passes (ie TraceValues) insert a lot of string |

