[llvm-commits] CVS: llvm/lib/Transforms/IPO/PruneEH.cpp

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


Changes in directory llvm/lib/Transforms/IPO:

PruneEH.cpp updated: 1.1 -> 1.2

---
Log message:

Add accessor function


---
Diffs of the changes:

Index: llvm/lib/Transforms/IPO/PruneEH.cpp
diff -u llvm/lib/Transforms/IPO/PruneEH.cpp:1.1 llvm/lib/Transforms/IPO/PruneEH.cpp:1.2
--- llvm/lib/Transforms/IPO/PruneEH.cpp:1.1	Sat Aug 30 21:47:32 2003
+++ llvm/lib/Transforms/IPO/PruneEH.cpp	Sun Aug 31 11:30:07 2003
@@ -30,6 +30,8 @@
   RegisterOpt<PruneEH> X("prune-eh", "Remove unused exception handling info");
 }
 
+Pass *createPruneEHPass() { return new PruneEH(); }
+
 
 bool PruneEH::runOnSCC(const std::vector<CallGraphNode *> &SCC) {
   CallGraph &CG = getAnalysis<CallGraph>();





More information about the llvm-commits mailing list