GCC 3.1 changes

llvm-svn: 3071
This commit is contained in:
Chris Lattner 2002-07-24 22:40:36 +00:00
parent 85a79c0bf6
commit 2d2b8b4aee

View File

@ -39,7 +39,7 @@ static bool isLoopInvariant(const Value *V, const Loop *L) {
enum InductionVariable::iType
InductionVariable::Classify(const Value *Start, const Value *Step,
const Loop *L = 0) {
const Loop *L) {
// Check for cannonical and simple linear expressions now...
if (const ConstantInt *CStart = dyn_cast<ConstantInt>(Start))
if (const ConstantInt *CStep = dyn_cast<ConstantInt>(Step)) {