[llvm-commits] CVS: llvm/lib/Analysis/IPA/Andersens.cpp
Bill Wendling
isanbard at gmail.com
Thu Nov 16 23:37:09 PST 2006
Changes in directory llvm/lib/Analysis/IPA:
Andersens.cpp updated: 1.35 -> 1.36
---
Log message:
Replaced DEBUG(std::cerr with DOUT.
---
Diffs of the changes: (+5 -6)
Andersens.cpp | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
Index: llvm/lib/Analysis/IPA/Andersens.cpp
diff -u llvm/lib/Analysis/IPA/Andersens.cpp:1.35 llvm/lib/Analysis/IPA/Andersens.cpp:1.36
--- llvm/lib/Analysis/IPA/Andersens.cpp:1.35 Wed Nov 8 00:47:33 2006
+++ llvm/lib/Analysis/IPA/Andersens.cpp Fri Nov 17 01:36:54 2006
@@ -1036,7 +1036,7 @@
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 @@
// 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 @@
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);
}
More information about the llvm-commits
mailing list