Add getPotentialPassManagerType(). No functionality change, yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36149 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2007-04-16 18:51:25 +00:00
parent 62dc4dd522
commit 8f93b7fc36
3 changed files with 31 additions and 1 deletions
+5
View File
@@ -54,6 +54,11 @@ struct CallGraphSCCPass : public Pass {
virtual void assignPassManager(PMStack &PMS,
PassManagerType PMT = PMT_CallGraphPassManager);
/// Return what kind of Pass Manager can manage this pass.
virtual PassManagerType getPotentialPassManagerType() const {
return PMT_CallGraphPassManager;
}
/// getAnalysisUsage - For this class, we declare that we require and preserve
/// the call graph. If the derived class implements this method, it should
/// always explicitly call the implementation here.