Inherit CallGraphSCCPass directly from Pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2007-01-26 00:47:38 +00:00
parent a65f5fd21b
commit c71ca3cdd2
5 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ namespace {
RegisterPass<PruneEH> X("prune-eh", "Remove unused exception handling info");
}
ModulePass *llvm::createPruneEHPass() { return new PruneEH(); }
Pass *llvm::createPruneEHPass() { return new PruneEH(); }
bool PruneEH::runOnSCC(const std::vector<CallGraphNode *> &SCC) {