[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Feb 1 13:55:55 PST 2005



Changes in directory llvm/lib/Analysis/DataStructure:

BottomUpClosure.cpp updated: 1.90 -> 1.91
---
Log message:

Eliminate some duplicated debug code


---
Diffs of the changes:  (+0 -21)

 BottomUpClosure.cpp |   21 ---------------------
 1 files changed, 21 deletions(-)


Index: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
diff -u llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.90 llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.91
--- llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.90	Tue Feb  1 15:49:43 2005
+++ llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp	Tue Feb  1 15:55:40 2005
@@ -264,28 +264,7 @@
 
   DSGraph::ReturnNodesTy &ReturnNodes = Graph.getReturnNodes();
 
-  // Print out multi-call sites.
   bool Printed = false;
-  for (std::list<DSCallSite>::iterator I = TempFCs.begin(), E = TempFCs.end();
-       I != E; ++I) {
-    if (!I->isDirectCall()) {
-      DSNode *Node = I->getCalleeNode();
-      if (Node->getGlobals().size() > 1) {
-        if (!Printed)
-          std::cerr << "In Fns: " << Graph.getFunctionNames() << "\n";
-        std::cerr << "  calls " << Node->getGlobals().size()
-                  << " fns from site: " << I->getCallSite().getInstruction() 
-                  << "  " << *I->getCallSite().getInstruction();
-        unsigned NumToPrint = Node->getGlobals().size();
-        if (NumToPrint > 5) NumToPrint = 5;
-        std::cerr << "   Fns =";
-        for (unsigned i = 0; i != NumToPrint; ++i) 
-          std::cerr << " " << Node->getGlobals()[i]->getName();
-        std::cerr << "\n";
-      }
-    }
-  }
-
   while (!TempFCs.empty()) {
     DSCallSite &CS = *TempFCs.begin();
 






More information about the llvm-commits mailing list