From 212039c1c8f3a6b1f1227c206c61ca2fdfb02090 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 31 Aug 2003 16:30:07 +0000 Subject: [PATCH] Add accessor function llvm-svn: 8253 --- lib/Transforms/IPO/PruneEH.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Transforms/IPO/PruneEH.cpp b/lib/Transforms/IPO/PruneEH.cpp index ee2f8c3b9b0..41f7f73845c 100644 --- a/lib/Transforms/IPO/PruneEH.cpp +++ b/lib/Transforms/IPO/PruneEH.cpp @@ -30,6 +30,8 @@ namespace { RegisterOpt X("prune-eh", "Remove unused exception handling info"); } +Pass *createPruneEHPass() { return new PruneEH(); } + bool PruneEH::runOnSCC(const std::vector &SCC) { CallGraph &CG = getAnalysis();