diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 04:37:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 04:37:46 +0000 |
commit | b25de3ff6051d69db87c12c8892cfa37ce6e7d64 (patch) | |
tree | a6d3f90619240ea8767377f971680ca7896975d5 /llvm/lib/Analysis/AliasAnalysisCounter.cpp | |
parent | 82e57a6b481bc016e85e39f254f3648594ddf8d2 (diff) | |
download | bcm5719-llvm-b25de3ff6051d69db87c12c8892cfa37ce6e7d64.tar.gz bcm5719-llvm-b25de3ff6051d69db87c12c8892cfa37ce6e7d64.zip |
eliminate the "Value" printing methods that print to a std::ostream.
This required converting a bunch of stuff off DOUT and other cleanups.
llvm-svn: 79819
Diffstat (limited to 'llvm/lib/Analysis/AliasAnalysisCounter.cpp')
-rw-r--r-- | llvm/lib/Analysis/AliasAnalysisCounter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/AliasAnalysisCounter.cpp b/llvm/lib/Analysis/AliasAnalysisCounter.cpp index 3eab452d405..f1bd7c1d17c 100644 --- a/llvm/lib/Analysis/AliasAnalysisCounter.cpp +++ b/llvm/lib/Analysis/AliasAnalysisCounter.cpp @@ -19,7 +19,7 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" -#include "llvm/Support/Streams.h" +#include "llvm/Support/raw_ostream.h" using namespace llvm; static cl::opt<bool> @@ -165,10 +165,10 @@ AliasAnalysisCounter::getModRefInfo(CallSite CS, Value *P, unsigned Size) { } if (PrintAll || (PrintAllFailures && R == ModRef)) { - cerr << MRString << ": Ptr: "; - cerr << "[" << Size << "B] "; - WriteAsOperand(*cerr.stream(), P, true, M); - cerr << "\t<->" << *CS.getInstruction(); + errs() << MRString << ": Ptr: "; + errs() << "[" << Size << "B] "; + WriteAsOperand(errs(), P, true, M); + errs() << "\t<->" << *CS.getInstruction(); } return R; } |