[llvm-commits] [llvm] r92633 - /llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp
David Greene
greened at obbligato.org
Mon Jan 4 17:28:13 PST 2010
Author: greened
Date: Mon Jan 4 19:28:12 2010
New Revision: 92633
URL: http://llvm.org/viewvc/llvm-project?rev=92633&view=rev
Log:
Change errs() to dbgs().
Modified:
llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp
Modified: llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp?rev=92633&r1=92632&r2=92633&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp Mon Jan 4 19:28:12 2010
@@ -633,17 +633,17 @@
bool LocalChanged;
do {
LocalChanged = false;
- DEBUG(errs() << "size: " << FnMap.size() << "\n");
+ DEBUG(dbgs() << "size: " << FnMap.size() << "\n");
for (std::map<unsigned long, std::vector<Function *> >::iterator
I = FnMap.begin(), E = FnMap.end(); I != E; ++I) {
std::vector<Function *> &FnVec = I->second;
- DEBUG(errs() << "hash (" << I->first << "): " << FnVec.size() << "\n");
+ DEBUG(dbgs() << "hash (" << I->first << "): " << FnVec.size() << "\n");
for (int i = 0, e = FnVec.size(); i != e; ++i) {
for (int j = i + 1; j != e; ++j) {
bool isEqual = equals(FnVec[i], FnVec[j]);
- DEBUG(errs() << " " << FnVec[i]->getName()
+ DEBUG(dbgs() << " " << FnVec[i]->getName()
<< (isEqual ? " == " : " != ")
<< FnVec[j]->getName() << "\n");
More information about the llvm-commits
mailing list