summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA/CallGraph.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-12-07 01:30:32 +0000
committerBill Wendling <isanbard@gmail.com>2006-12-07 01:30:32 +0000
commitf3baad3ee14689641493a578f3a1561cb15ac517 (patch)
tree9259790ab0eabbd126ea6426cd08226883090062 /llvm/lib/Analysis/IPA/CallGraph.cpp
parentd8e7451dc3414cfc43a7622e5f0051a5ac5e94a2 (diff)
downloadbcm5719-llvm-f3baad3ee14689641493a578f3a1561cb15ac517.tar.gz
bcm5719-llvm-f3baad3ee14689641493a578f3a1561cb15ac517.zip
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp. llvm-svn: 32298
Diffstat (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r--llvm/lib/Analysis/IPA/CallGraph.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp
index 128e11ebd7f..6e8ca184b43 100644
--- a/llvm/lib/Analysis/IPA/CallGraph.cpp
+++ b/llvm/lib/Analysis/IPA/CallGraph.cpp
@@ -74,7 +74,7 @@ public:
AU.setPreservesAll();
}
- void print(llvm_ostream &o, const Module *M) const {
+ void print(OStream &o, const Module *M) const {
if (o.stream()) print(*o.stream(), M);
}
@@ -95,7 +95,7 @@ public:
/// dump - Print out this call graph.
///
inline void dump() const {
- print(llvm_cerr, Mod);
+ print(cerr, Mod);
}
CallGraphNode* getExternalCallingNode() const { return ExternalCallingNode; }
@@ -212,7 +212,7 @@ void CallGraph::print(std::ostream &OS, const Module *M) const {
}
void CallGraph::dump() const {
- print(llvm_cerr, 0);
+ print(cerr, 0);
}
//===----------------------------------------------------------------------===//
@@ -275,7 +275,7 @@ void CallGraphNode::print(std::ostream &OS) const {
OS << "\n";
}
-void CallGraphNode::dump() const { print(llvm_cerr); }
+void CallGraphNode::dump() const { print(cerr); }
void CallGraphNode::removeCallEdgeTo(CallGraphNode *Callee) {
for (unsigned i = CalledFunctions.size(); ; --i) {
OpenPOWER on IntegriCloud