Add prototype for the lowersetjmp pass
[oota-llvm.git] / include / llvm / Transforms / IPO.h
index 4f0809a69dbcd52b7f3e43ead00eecc04771834b..0da65307529e6f8484459010332646e9be3336df 100644 (file)
 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.