diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-04-05 19:00:46 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-04-05 19:00:46 +0000 |
commit | 5ebc25c818582c90b731107b1982cde465065041 (patch) | |
tree | ef76f1491c06a768146cc83d94c213882586700e /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | 29153fc2e51db3cafb0a9be90db9a40d9ff50363 (diff) | |
download | bcm5719-llvm-5ebc25c818582c90b731107b1982cde465065041.tar.gz bcm5719-llvm-5ebc25c818582c90b731107b1982cde465065041.zip |
Kill warnings during an optimized compile where assert() disappears.
llvm-svn: 12669
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | llvm/lib/Analysis/ScalarEvolution.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index 8e6ee5363ae..f54dce7ca2e 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/lib/Analysis/ScalarEvolution.cpp @@ -143,10 +143,12 @@ SCEVCouldNotCompute::SCEVCouldNotCompute() : SCEV(scCouldNotCompute) {} bool SCEVCouldNotCompute::isLoopInvariant(const Loop *L) const { assert(0 && "Attempt to use a SCEVCouldNotCompute object!"); + return false; } const Type *SCEVCouldNotCompute::getType() const { assert(0 && "Attempt to use a SCEVCouldNotCompute object!"); + return 0; } bool SCEVCouldNotCompute::hasComputableLoopEvolution(const Loop *L) const { |