mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Kill warnings during an optimized compile where assert() disappears.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12669 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -143,10 +143,12 @@ SCEVCouldNotCompute::SCEVCouldNotCompute() : SCEV(scCouldNotCompute) {}
|
|||||||
|
|
||||||
bool SCEVCouldNotCompute::isLoopInvariant(const Loop *L) const {
|
bool SCEVCouldNotCompute::isLoopInvariant(const Loop *L) const {
|
||||||
assert(0 && "Attempt to use a SCEVCouldNotCompute object!");
|
assert(0 && "Attempt to use a SCEVCouldNotCompute object!");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Type *SCEVCouldNotCompute::getType() const {
|
const Type *SCEVCouldNotCompute::getType() const {
|
||||||
assert(0 && "Attempt to use a SCEVCouldNotCompute object!");
|
assert(0 && "Attempt to use a SCEVCouldNotCompute object!");
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SCEVCouldNotCompute::hasComputableLoopEvolution(const Loop *L) const {
|
bool SCEVCouldNotCompute::hasComputableLoopEvolution(const Loop *L) const {
|
||||||
|
Reference in New Issue
Block a user