mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Change dbgs() back to errs() for assert messages as Chris requested.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92076 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
63c9463c62
commit
e6717d7ba6
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user