Add accessor function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-31 16:30:07 +00:00
parent 483cb5126f
commit f6fb96f559

View 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>();