diff options
| author | David Greene <greened@obbligato.org> | 2009-12-23 22:59:29 +0000 |
|---|---|---|
| committer | David Greene <greened@obbligato.org> | 2009-12-23 22:59:29 +0000 |
| commit | d79102d6f2480dda99be3a930644ac74e0cc6c32 (patch) | |
| tree | bade6ca5ff44e9a295928d29195159891f4a5352 | |
| parent | 2330f78075ff044775ac88d35f65a2994133dce1 (diff) | |
| download | bcm5719-llvm-d79102d6f2480dda99be3a930644ac74e0cc6c32.tar.gz bcm5719-llvm-d79102d6f2480dda99be3a930644ac74e0cc6c32.zip | |
Change dbgs() back to errs() for assert messages as Chris requested.
llvm-svn: 92076
| -rw-r--r-- | llvm/lib/Analysis/ProfileInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/ProfileInfo.cpp b/llvm/lib/Analysis/ProfileInfo.cpp index d6c2297e3b4..afd86b156b2 100644 --- a/llvm/lib/Analysis/ProfileInfo.cpp +++ b/llvm/lib/Analysis/ProfileInfo.cpp @@ -978,7 +978,7 @@ void ProfileInfoT<Function,BasicBlock>::repair(const Function *F) { } if (FoundPath) continue; - dbgs() << "{"; + errs() << "{"; FI = Unvisited.begin(), FE = Unvisited.end(); while(FI != FE) { const BasicBlock *BB = *FI; ++FI; @@ -986,9 +986,9 @@ void ProfileInfoT<Function,BasicBlock>::repair(const Function *F) { if (FI != FE) dbgs() << ","; } - dbgs() << "}"; + errs() << "}"; - dbgs() << "ASSERT: could not repair function"; + errs() << "ASSERT: could not repair function"; assert(0 && "could not repair function"); } |

