Fix a few assertion strings.
authorDan Gohman <gohman@apple.com>
Mon, 13 Jul 2009 22:20:53 +0000 (22:20 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 13 Jul 2009 22:20:53 +0000 (22:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75530 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index 51437bcd0d3b8a627fc937290f8c7d55616eb060..a252e954a2ed59e7b931b37a1dc3fd0fe8531b02 100644 (file)
@@ -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