Add accessor function

llvm-svn: 8253
This commit is contained in:
Chris Lattner 2003-08-31 16:30:07 +00:00
parent 488e273422
commit 212039c1c8

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