diff options
| author | Bill Wendling <isanbard@gmail.com> | 2006-11-17 07:36:54 +0000 | 
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2006-11-17 07:36:54 +0000 | 
| commit | 4b1a04ac627ba2250ba4a66b0f90ea0251851bbe (patch) | |
| tree | 6292b8203556c8c8fd26ba824dae2026154c7c9d /llvm/lib/Analysis/IPA/Andersens.cpp | |
| parent | fc9063e9cdf0cf84354915379e4b82661da87e2e (diff) | |
| download | bcm5719-llvm-4b1a04ac627ba2250ba4a66b0f90ea0251851bbe.tar.gz bcm5719-llvm-4b1a04ac627ba2250ba4a66b0f90ea0251851bbe.zip | |
Replaced DEBUG(std::cerr with DOUT.
llvm-svn: 31812
Diffstat (limited to 'llvm/lib/Analysis/IPA/Andersens.cpp')
| -rw-r--r-- | llvm/lib/Analysis/IPA/Andersens.cpp | 11 | 
1 files changed, 5 insertions, 6 deletions
| diff --git a/llvm/lib/Analysis/IPA/Andersens.cpp b/llvm/lib/Analysis/IPA/Andersens.cpp index 30ec89b6923..dd94b3832d0 100644 --- a/llvm/lib/Analysis/IPA/Andersens.cpp +++ b/llvm/lib/Analysis/IPA/Andersens.cpp @@ -1036,7 +1036,7 @@ void Andersens::SolveConstraints() {    while (Changed) {      Changed = false;      ++NumIters; -    DEBUG(std::cerr << "Starting iteration #" << Iteration++ << "!\n"); +    DOUT << "Starting iteration #" << Iteration++ << "!\n";      // Loop over all of the constraints, applying them in turn.      for (unsigned i = 0, e = Constraints.size(); i != e; ++i) { @@ -1069,8 +1069,7 @@ void Andersens::SolveConstraints() {              // We found a function that is just now escaping.  Mark it as if it              // didn't have internal linkage.              AddConstraintsForNonInternalLinkage(F); -            DEBUG(std::cerr << "Found escaping internal function: " -                            << F->getName() << "\n"); +            DOUT << "Found escaping internal function: " << F->getName() <<"\n";              ++NumEscapingFunctions;            } @@ -1088,9 +1087,9 @@ void Andersens::SolveConstraints() {              if (IP == KnownCallees.end() || *IP != F) {                // Add the constraints for the call now.                AddConstraintsForCall(CS, F); -              DEBUG(std::cerr << "Found actual callee '" -                              << F->getName() << "' for call: " -                              << *CS.getInstruction() << "\n"); +              DOUT << "Found actual callee '" +                   << F->getName() << "' for call: " +                   << *CS.getInstruction() << "\n";                ++NumIndirectCallees;                KnownCallees.insert(IP, F);              } | 

