summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-12-23 23:14:41 +0000
committerDavid Greene <greened@obbligato.org>2009-12-23 23:14:41 +0000
commit91b6bcefc639096626389e2973ee423616fdb423 (patch)
tree60c18bddef2f4578c4c54a176b3ab48cac0f4d34
parent3d64631fef58663887d4bb841962349a33e9642a (diff)
downloadbcm5719-llvm-91b6bcefc639096626389e2973ee423616fdb423.tar.gz
bcm5719-llvm-91b6bcefc639096626389e2973ee423616fdb423.zip
Change dbgs() back to errs() for assert messages as Chris requested.
llvm-svn: 92081
-rw-r--r--llvm/lib/Analysis/IPA/Andersens.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/IPA/Andersens.cpp b/llvm/lib/Analysis/IPA/Andersens.cpp
index 3ff9505a832..28c66affe11 100644
--- a/llvm/lib/Analysis/IPA/Andersens.cpp
+++ b/llvm/lib/Analysis/IPA/Andersens.cpp
@@ -806,7 +806,7 @@ unsigned Andersens::getNodeForConstantPointer(Constant *C) {
case Instruction::BitCast:
return getNodeForConstantPointer(CE->getOperand(0));
default:
- dbgs() << "Constant Expr not yet handled: " << *CE << "\n";
+ errs() << "Constant Expr not yet handled: " << *CE << "\n";
llvm_unreachable(0);
}
} else {
@@ -833,7 +833,7 @@ unsigned Andersens::getNodeForConstantPointerTarget(Constant *C) {
case Instruction::BitCast:
return getNodeForConstantPointerTarget(CE->getOperand(0));
default:
- dbgs() << "Constant Expr not yet handled: " << *CE << "\n";
+ errs() << "Constant Expr not yet handled: " << *CE << "\n";
llvm_unreachable(0);
}
} else {
@@ -1132,7 +1132,7 @@ void Andersens::visitInstruction(Instruction &I) {
return;
default:
// Is this something we aren't handling yet?
- dbgs() << "Unknown instruction: " << I;
+ errs() << "Unknown instruction: " << I;
llvm_unreachable(0);
}
}
OpenPOWER on IntegriCloud