summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/PruneEH.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/IPO/PruneEH.cpp')
-rw-r--r--lib/Transforms/IPO/PruneEH.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/PruneEH.cpp b/lib/Transforms/IPO/PruneEH.cpp
index d536965518..8ba0ac0402 100644
--- a/lib/Transforms/IPO/PruneEH.cpp
+++ b/lib/Transforms/IPO/PruneEH.cpp
@@ -46,7 +46,7 @@ namespace {
bool SimplifyFunction(Function *F);
void DeleteBasicBlock(BasicBlock *BB);
};
- RegisterOpt<PruneEH> X("prune-eh", "Remove unused exception handling info");
+ RegisterPass<PruneEH> X("prune-eh", "Remove unused exception handling info");
}
ModulePass *llvm::createPruneEHPass() { return new PruneEH(); }