diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-31 19:32:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-31 19:32:12 +0000 |
commit | c70601cd67cde3967c7e7b1d4920dcee43f05f01 (patch) | |
tree | 6298a4b6dbdd4f841cfcbf6a6a6763224ecfc48f /llvm/lib/Analysis/DataStructure/TopDownClosure.cpp | |
parent | be4826e6279c22712fdea7e97ad9e41ad94f0cfe (diff) | |
download | bcm5719-llvm-c70601cd67cde3967c7e7b1d4920dcee43f05f01.tar.gz bcm5719-llvm-c70601cd67cde3967c7e7b1d4920dcee43f05f01.zip |
Changes to be GCC3.1 friendly
llvm-svn: 3186
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/TopDownClosure.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/TopDownClosure.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp b/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp index 8f8e2ecf51c..561e857f636 100644 --- a/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp +++ b/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp @@ -168,7 +168,7 @@ DSGraph &TDDataStructures::calculateGraph(Function &F) { // Find the callers of this function recorded during the BU pass std::set<Function*> &PendingCallers = BUGraph.getPendingCallers(); - DEBUG(cerr << " [TD] Inlining callers for: " << F.getName() << "\n"); + DEBUG(std::cerr << " [TD] Inlining callers for: " << F.getName() << "\n"); for (std::set<Function*>::iterator I=PendingCallers.begin(), E=PendingCallers.end(); I != E; ++I) { @@ -176,7 +176,7 @@ DSGraph &TDDataStructures::calculateGraph(Function &F) { assert(! caller.isExternal() && "Externals unexpected in callers list"); DEBUG(std::cerr << "\t [TD] Inlining " << caller.getName() - << " into callee: " << F.getName() << "\n"); + << " into callee: " << F.getName() << "\n"); // These two maps keep track of where scalars in the old graph _used_ // to point to, and of new nodes matching nodes of the old graph. @@ -194,8 +194,8 @@ DSGraph &TDDataStructures::calculateGraph(Function &F) { // DSGraph &callerGraph = calculateGraph(caller); // Graph to inline - DEBUG(cerr << "\t\t[TD] Got graph for " << caller.getName() << " in: " - << F.getName() << "\n"); + DEBUG(std::cerr << "\t\t[TD] Got graph for " << caller.getName() + << " in: " << F.getName() << "\n"); // Clone the caller's graph into the current graph, keeping // track of where scalars in the old graph _used_ to point... @@ -218,7 +218,8 @@ DSGraph &TDDataStructures::calculateGraph(Function &F) { /*&& FIXME: NEED TO CHECK IF ALL CALLERS FOUND!*/); Graph->removeDeadNodes(/*KeepAllGlobals*/ false, /*KeepCalls*/ false); - DEBUG(cerr << " [TD] Done inlining callers for: " << F.getName() << "\n"); + DEBUG(std::cerr << " [TD] Done inlining callers for: " + << F.getName() << "\n"); return *Graph; } |