From f6fb96f5591de185f45ba8cd6ba3a3d98e04a86d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 31 Aug 2003 16:30:07 +0000 Subject: [PATCH] Add accessor function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8253 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(); -- 2.34.1