diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-13 22:20:53 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-13 22:20:53 +0000 |
commit | dd707af3456fe9bd1ac44086e6ffe457b1ed6b2b (patch) | |
tree | 5bc0d9944598184612aa5224bad41a5269c12d45 /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | 6a9bb1397f07a53b0fbb2bbe6bd857ffb8c30912 (diff) | |
download | bcm5719-llvm-dd707af3456fe9bd1ac44086e6ffe457b1ed6b2b.tar.gz bcm5719-llvm-dd707af3456fe9bd1ac44086e6ffe457b1ed6b2b.zip |
Fix a few assertion strings.
llvm-svn: 75530
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | llvm/lib/Analysis/ScalarEvolution.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index 51437bcd0d3..a252e954a2e 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/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 |