Add accessor function
authorChris Lattner <sabre@nondot.org>
Sun, 31 Aug 2003 16:30:07 +0000 (16:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 31 Aug 2003 16:30:07 +0000 (16:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8253 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/PruneEH.cpp

index ee2f8c3b9b0305bb71b435c47f12290f81856b66..41f7f73845c30fd07b20b3e9fbe336a87e4c3c3f 100644 (file)
@@ -30,6 +30,8 @@ namespace {
   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>();