diff options
author | Owen Anderson <resistor@mac.com> | 2010-08-06 00:23:35 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-08-06 00:23:35 +0000 |
commit | bda59bd247b1153e4bc19f85dee4cb594b9c2b32 (patch) | |
tree | 669b82d1ff890ce19f7c3ad68f66975f9eafb681 /llvm/lib/VMCore/PrintModulePass.cpp | |
parent | 396e041f5eac1cf6eda07e94ff34c3f2f4905ead (diff) | |
download | bcm5719-llvm-bda59bd247b1153e4bc19f85dee4cb594b9c2b32.tar.gz bcm5719-llvm-bda59bd247b1153e4bc19f85dee4cb594b9c2b32.zip |
Revert r110396 to fix buildbots.
llvm-svn: 110410
Diffstat (limited to 'llvm/lib/VMCore/PrintModulePass.cpp')
-rw-r--r-- | llvm/lib/VMCore/PrintModulePass.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/PrintModulePass.cpp b/llvm/lib/VMCore/PrintModulePass.cpp index 415309e52fa..7baacf71ceb 100644 --- a/llvm/lib/VMCore/PrintModulePass.cpp +++ b/llvm/lib/VMCore/PrintModulePass.cpp @@ -28,10 +28,10 @@ namespace { bool DeleteStream; // Delete the ostream in our dtor? public: static char ID; - PrintModulePass() : ModulePass(ID), Out(&dbgs()), + PrintModulePass() : ModulePass(&ID), Out(&dbgs()), DeleteStream(false) {} PrintModulePass(const std::string &B, raw_ostream *o, bool DS) - : ModulePass(ID), Banner(B), Out(o), DeleteStream(DS) {} + : ModulePass(&ID), Banner(B), Out(o), DeleteStream(DS) {} ~PrintModulePass() { if (DeleteStream) delete Out; @@ -53,10 +53,10 @@ namespace { bool DeleteStream; // Delete the ostream in our dtor? public: static char ID; - PrintFunctionPass() : FunctionPass(ID), Banner(""), Out(&dbgs()), + PrintFunctionPass() : FunctionPass(&ID), Banner(""), Out(&dbgs()), DeleteStream(false) {} PrintFunctionPass(const std::string &B, raw_ostream *o, bool DS) - : FunctionPass(ID), Banner(B), Out(o), DeleteStream(DS) {} + : FunctionPass(&ID), Banner(B), Out(o), DeleteStream(DS) {} inline ~PrintFunctionPass() { if (DeleteStream) delete Out; |