summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/PruneEH.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-27 22:42:52 +0000
committerChris Lattner <sabre@nondot.org>2006-08-27 22:42:52 +0000
commitc2d3d3112e981b142ffdb742622b52bc165a3df9 (patch)
tree01726132d406eb377d56c0590770db01784bef36 /llvm/lib/Transforms/IPO/PruneEH.cpp
parentc7cff24f40b22bf010d33a92c08c707a419a6b98 (diff)
downloadbcm5719-llvm-c2d3d3112e981b142ffdb742622b52bc165a3df9.tar.gz
bcm5719-llvm-c2d3d3112e981b142ffdb742622b52bc165a3df9.zip
eliminate RegisterOpt. It does the same thing as RegisterPass.
llvm-svn: 29925
Diffstat (limited to 'llvm/lib/Transforms/IPO/PruneEH.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/PruneEH.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/PruneEH.cpp b/llvm/lib/Transforms/IPO/PruneEH.cpp
index d536965518c..8ba0ac04023 100644
--- a/llvm/lib/Transforms/IPO/PruneEH.cpp
+++ b/llvm/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(); }
OpenPOWER on IntegriCloud