Changes for GCC 3.1
authorChris Lattner <sabre@nondot.org>
Wed, 24 Jul 2002 22:33:50 +0000 (22:33 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 24 Jul 2002 22:33:50 +0000 (22:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3068 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/BottomUpClosure.cpp

index d2e8c2151920651c830e80b23a3efbd53f7143f9..f7a6332e78c7637f00f6fccaffc50920008075aa 100644 (file)
@@ -95,7 +95,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
   // Start resolving calls...
   std::vector<std::vector<DSNodeHandle> > &FCs = Graph->getFunctionCalls();
 
-  DEBUG(cerr << "Inlining: " << F.getName() << "\n");
+  DEBUG(std::cerr << "Inlining: " << F.getName() << "\n");
 
   bool Inlined;
   do {
@@ -119,7 +119,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
             // Self recursion... simply link up the formal arguments with the
             // actual arguments...
            
-            DEBUG(cerr << "Self Inlining: " << F.getName() << "\n");
+            DEBUG(std::cerr << "Self Inlining: " << F.getName() << "\n");
 
             if (Call[0]) // Handle the return value if present...
               Graph->RetNode->mergeWith(Call[0]);
@@ -139,7 +139,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
             //
             DSGraph &GI = calculateGraph(FI);  // Graph to inline
 
-            DEBUG(cerr << "Got graph for " << FI.getName() << " in: "
+            DEBUG(std::cerr << "Got graph for " << FI.getName() << " in: "
                   << F.getName() << "\n");
 
             // Remember the callers for each callee for use in the top-down