[llvm-commits] [llvm] r92076 - /llvm/trunk/lib/Analysis/ProfileInfo.cpp

David Greene greened at obbligato.org
Wed Dec 23 14:59:29 PST 2009


Author: greened
Date: Wed Dec 23 16:59:29 2009
New Revision: 92076

URL: http://llvm.org/viewvc/llvm-project?rev=92076&view=rev
Log:

Change dbgs() back to errs() for assert messages as Chris requested.

Modified:
    llvm/trunk/lib/Analysis/ProfileInfo.cpp

Modified: llvm/trunk/lib/Analysis/ProfileInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ProfileInfo.cpp?rev=92076&r1=92075&r2=92076&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/ProfileInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/ProfileInfo.cpp Wed Dec 23 16:59:29 2009
@@ -978,7 +978,7 @@
     }
     if (FoundPath) continue;
 
-    dbgs() << "{";
+    errs() << "{";
     FI = Unvisited.begin(), FE = Unvisited.end();
     while(FI != FE) {
       const BasicBlock *BB = *FI; ++FI;
@@ -986,9 +986,9 @@
       if (FI != FE)
         dbgs() << ",";
     }
-    dbgs() << "}";
+    errs() << "}";
 
-    dbgs() << "ASSERT: could not repair function";
+    errs() << "ASSERT: could not repair function";
     assert(0 && "could not repair function");
   }
 





More information about the llvm-commits mailing list