[llvm-commits] CVS: llvm/lib/Analysis/AliasAnalysisCounter.cpp AliasAnalysisEvaluator.cpp
Bill Wendling
isanbard at gmail.com
Thu Dec 7 12:28:41 PST 2006
Changes in directory llvm/lib/Analysis:
AliasAnalysisCounter.cpp updated: 1.18 -> 1.19
AliasAnalysisEvaluator.cpp updated: 1.31 -> 1.32
---
Log message:
Removed more <iostream> includes
---
Diffs of the changes: (+6 -8)
AliasAnalysisCounter.cpp | 7 +++----
AliasAnalysisEvaluator.cpp | 7 +++----
2 files changed, 6 insertions(+), 8 deletions(-)
Index: llvm/lib/Analysis/AliasAnalysisCounter.cpp
diff -u llvm/lib/Analysis/AliasAnalysisCounter.cpp:1.18 llvm/lib/Analysis/AliasAnalysisCounter.cpp:1.19
--- llvm/lib/Analysis/AliasAnalysisCounter.cpp:1.18 Wed Dec 6 19:30:31 2006
+++ llvm/lib/Analysis/AliasAnalysisCounter.cpp Thu Dec 7 14:28:15 2006
@@ -18,7 +18,6 @@
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Streams.h"
-#include <iostream>
using namespace llvm;
namespace {
@@ -131,9 +130,9 @@
if (PrintAll || (PrintAllFailures && R == MayAlias)) {
cerr << AliasString << ":\t";
cerr << "[" << V1Size << "B] ";
- WriteAsOperand(std::cerr, V1, true, M) << ", ";
+ WriteAsOperand(*cerr.stream(), V1, true, M) << ", ";
cerr << "[" << V2Size << "B] ";
- WriteAsOperand(std::cerr, V2, true, M) << "\n";
+ WriteAsOperand(*cerr.stream(), V2, true, M) << "\n";
}
return R;
@@ -155,7 +154,7 @@
if (PrintAll || (PrintAllFailures && R == ModRef)) {
cerr << MRString << ": Ptr: ";
cerr << "[" << Size << "B] ";
- WriteAsOperand(std::cerr, P, true, M);
+ WriteAsOperand(*cerr.stream(), P, true, M);
cerr << "\t<->" << *CS.getInstruction();
}
return R;
Index: llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
diff -u llvm/lib/Analysis/AliasAnalysisEvaluator.cpp:1.31 llvm/lib/Analysis/AliasAnalysisEvaluator.cpp:1.32
--- llvm/lib/Analysis/AliasAnalysisEvaluator.cpp:1.31 Wed Dec 6 19:30:31 2006
+++ llvm/lib/Analysis/AliasAnalysisEvaluator.cpp Thu Dec 7 14:28:15 2006
@@ -29,7 +29,6 @@
#include "llvm/Support/InstIterator.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Streams.h"
-#include <iostream>
#include <set>
using namespace llvm;
@@ -80,8 +79,8 @@
Module *M) {
if (P) {
cerr << " " << Msg << ":\t";
- WriteAsOperand(std::cerr, V1, true, M) << ", ";
- WriteAsOperand(std::cerr, V2, true, M) << "\n";
+ WriteAsOperand(*cerr.stream(), V1, true, M) << ", ";
+ WriteAsOperand(*cerr.stream(), V2, true, M) << "\n";
}
}
@@ -90,7 +89,7 @@
Module *M) {
if (P) {
cerr << " " << Msg << ": Ptr: ";
- WriteAsOperand(std::cerr, Ptr, true, M);
+ WriteAsOperand(*cerr.stream(), Ptr, true, M);
cerr << "\t<->" << *I;
}
}
More information about the llvm-commits
mailing list