[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 31 11:31:01 PDT 2003


Changes in directory llvm/include/llvm/Transforms:

IPO.h updated: 1.18 -> 1.19

---
Log message:

Add accessor function for the PruneEH pass


---
Diffs of the changes:

Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.18 llvm/include/llvm/Transforms/IPO.h:1.19
--- llvm/include/llvm/Transforms/IPO.h:1.18	Tue Jun 24 23:12:29 2003
+++ llvm/include/llvm/Transforms/IPO.h	Sun Aug 31 11:30:25 2003
@@ -62,6 +62,12 @@
 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.





More information about the llvm-commits mailing list