[llvm-commits] CVS: llvm/include/llvm/Pass.h
Devang Patel
dpatel at apple.com
Tue Jan 16 13:43:35 PST 2007
Changes in directory llvm/include/llvm:
Pass.h updated: 1.74 -> 1.75
---
Log message:
Undo last check-in.
Remove setupPassManager() and its use.
---
Diffs of the changes: (+2 -9)
Pass.h | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
Index: llvm/include/llvm/Pass.h
diff -u llvm/include/llvm/Pass.h:1.74 llvm/include/llvm/Pass.h:1.75
--- llvm/include/llvm/Pass.h:1.74 Tue Jan 16 13:46:08 2007
+++ llvm/include/llvm/Pass.h Tue Jan 16 15:43:18 2007
@@ -108,8 +108,6 @@
void dump() const; // dump - call print(std::cerr, 0);
virtual void assignPassManager(PMStack &PMS) {}
- virtual void setupPassManager(PMStack &PMS) {}
-
// Access AnalysisResolver
inline void setResolver(AnalysisResolver *AR) { Resolver = AR; }
inline AnalysisResolver *getResolver() { return Resolver; }
@@ -203,7 +201,6 @@
virtual bool runPass(BasicBlock&) { return false; }
virtual void assignPassManager(PMStack &PMS);
-
// Force out-of-line virtual method.
virtual ~ModulePass();
};
@@ -270,7 +267,6 @@
bool run(Function &F);
virtual void assignPassManager(PMStack &PMS);
- virtual void setupPassManager(PMStack &PMS);
};
@@ -325,7 +321,6 @@
virtual bool runPass(BasicBlock &BB);
virtual void assignPassManager(PMStack &PMS);
- virtual void setupPassManager(PMStack &PMS);
};
/// Different types of internal pass managers. External pass managers
@@ -342,10 +337,8 @@
/// PMStack
/// Top level pass manager (see PasManager.cpp) maintains active Pass Managers
-/// using PMStack. Each Pass implements setupPassManager() and
-/// assignPassManager() to connect itself with appropriate manager.
-/// setupPassManager() creates new pass manager if required before adding
-/// required analysis passes. assignPassManager() walks PMStack to find
+/// using PMStack. Each Pass implements assignPassManager() to connect itself
+/// with appropriate manager. assignPassManager() walks PMStack to find
/// suitable manager.
///
/// PMStack is just a wrapper around standard deque that overrides pop() and
More information about the llvm-commits
mailing list