diff options
author | Chris Lattner <sabre@nondot.org> | 2002-06-30 16:01:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-06-30 16:01:15 +0000 |
commit | 9e5b6904e55f41bc845a15fe623743b7c1455364 (patch) | |
tree | 9d3dc12b5188fa99d4eb681672ba7d07bc8d245e /llvm/lib/Analysis/DataStructure/ComputeClosure.cpp | |
parent | 03b18721be6ddd7209b2640709431ba0883b13c5 (diff) | |
download | bcm5719-llvm-9e5b6904e55f41bc845a15fe623743b7c1455364.tar.gz bcm5719-llvm-9e5b6904e55f41bc845a15fe623743b7c1455364.zip |
Fix anand's last checkin
llvm-svn: 2804
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/ComputeClosure.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/ComputeClosure.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/lib/Analysis/DataStructure/ComputeClosure.cpp b/llvm/lib/Analysis/DataStructure/ComputeClosure.cpp index ed2f93cdf1d..0f94b9141c8 100644 --- a/llvm/lib/Analysis/DataStructure/ComputeClosure.cpp +++ b/llvm/lib/Analysis/DataStructure/ComputeClosure.cpp @@ -12,7 +12,7 @@ #include "llvm/iOther.h" #include "Support/STLExtras.h" #include <algorithm> -#include <iostream> +using std::cerr; // Make all of the pointers that point to Val also point to N. // @@ -111,8 +111,8 @@ void FunctionDSGraph::computeClosure(const DataStructure &DS) { Function *F = cast<Function>(FGDN->getGlobal()); if ((int)NumInlines++ == InlineLimit) { // CUTE hack huh? - std::cerr << "Infinite (?) recursion halted\n"; - std::cerr << "Not inlining: " << F->getName() << "\n"; + cerr << "Infinite (?) recursion halted\n"; + cerr << "Not inlining: " << F->getName() << "\n"; CN->dump(); return; } @@ -126,10 +126,10 @@ void FunctionDSGraph::computeClosure(const DataStructure &DS) { // #if 0 - std::cerr << "\nSearching for: " << (void*)CN->getCall() << ": "; + cerr << "\nSearching for: " << (void*)CN->getCall() << ": "; for (unsigned X = 0; X != CN->getArgs().size(); ++X) { - std::cerr << " " << X << " is\n"; - CN->getArgs().first[X].print(std::cerr); + cerr << " " << X << " is\n"; + CN->getArgs().first[X].print(cerr); } #endif @@ -137,9 +137,9 @@ void FunctionDSGraph::computeClosure(const DataStructure &DS) { PointerValSet *CMI = 0; for (unsigned i = 0, e = CallMap.size(); i != e; ++i) { #if 0 - std::cerr << "Found: " << (void*)CallMap[i].first.second << ": "; + cerr << "Found: " << (void*)CallMap[i].first.second << ": "; for (unsigned X = 0; X != CallMap[i].first.first.size(); ++X) { - std::cerr << " " << X << " is\n"; CallMap[i].first.first[X].print(std::cerr); + cerr << " " << X << " is\n"; CallMap[i].first.first[X].print(cerr); } #endif |