mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-17 09:54:48 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f24dd5c560
commit
3a078b5208
@ -633,17 +633,17 @@ bool MergeFunctions::runOnModule(Module &M) {
|
||||
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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user