aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-13 22:20:53 +0000
committerDan Gohman <gohman@apple.com>2009-07-13 22:20:53 +0000
commit31b69c10471213dd62cfb5fab92f128f8d5a7260 (patch)
tree555e582a98c430cfa0d12cd70bc40df2007a45fd
parentf6185efcd80d5e333b48d57f8f47f935c8912f91 (diff)
downloadexternal_llvm-31b69c10471213dd62cfb5fab92f128f8d5a7260.zip
external_llvm-31b69c10471213dd62cfb5fab92f128f8d5a7260.tar.gz
external_llvm-31b69c10471213dd62cfb5fab92f128f8d5a7260.tar.bz2
Fix a few assertion strings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75530 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Analysis/ScalarEvolution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp
index 51437bc..a252e95 100644
--- a/lib/Analysis/ScalarEvolution.cpp
+++ b/lib/Analysis/ScalarEvolution.cpp
@@ -4825,7 +4825,7 @@ const SCEV *SCEVAddRecExpr::getNumIterationsInRange(ConstantRange Range,
//===----------------------------------------------------------------------===//
void ScalarEvolution::SCEVCallbackVH::deleted() {
- assert(SE && "SCEVCallbackVH called with a non-null ScalarEvolution!");
+ assert(SE && "SCEVCallbackVH called with a null ScalarEvolution!");
if (PHINode *PN = dyn_cast<PHINode>(getValPtr()))
SE->ConstantEvolutionLoopExitValue.erase(PN);
if (Instruction *I = dyn_cast<Instruction>(getValPtr()))
@@ -4835,7 +4835,7 @@ void ScalarEvolution::SCEVCallbackVH::deleted() {
}
void ScalarEvolution::SCEVCallbackVH::allUsesReplacedWith(Value *) {
- assert(SE && "SCEVCallbackVH called with a non-null ScalarEvolution!");
+ assert(SE && "SCEVCallbackVH called with a null ScalarEvolution!");
// Forget all the expressions associated with users of the old value,
// so that future queries will recompute the expressions using the new