diff options
Diffstat (limited to 'include/llvm/Transforms/PrintModulePass.h')
-rw-r--r-- | include/llvm/Transforms/PrintModulePass.h | 4 |
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; } |