aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/PrintModulePass.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-18 05:22:15 +0000
committerChris Lattner <sabre@nondot.org>2001-10-18 05:22:15 +0000
commit9797a5177144f67a59c63df3d61de87ceb4fd097 (patch)
tree7e4127ace4f94f1ec3d2eb5a381ad2b7cde20f4f /include/llvm/Transforms/PrintModulePass.h
parentb44523bd9d8975e9ce7e6ac1360fbe8d447bff3a (diff)
Convert to new simpler Pass structure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/PrintModulePass.h')
-rw-r--r--include/llvm/Transforms/PrintModulePass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Transforms/PrintModulePass.h b/include/llvm/Transforms/PrintModulePass.h
index 0e2cee1599..98948d8844 100644
--- a/include/llvm/Transforms/PrintModulePass.h
+++ b/include/llvm/Transforms/PrintModulePass.h
@@ -11,7 +11,7 @@
#include "llvm/Transforms/Pass.h"
#include "llvm/Assembly/Writer.h"
-class PrintModulePass : public ConcretePass {
+class PrintModulePass : public Pass {
string Banner; // String to print before each method
ostream *Out; // ostream to print on
bool DeleteStream; // Delete the ostream in our dtor?
@@ -26,7 +26,7 @@ public:
// doPerMethodWork - This pass just prints a banner followed by the method as
// it's processed.
//
- bool doPerMethodWorkVirt(Method *M) {
+ bool doPerMethodWork(Method *M) {
(*Out) << Banner << M;
return false;
}