Add support for GCC 2.96

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3777 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-09-17 17:23:09 +00:00
parent c2b327768b
commit 82f05d8610
2 changed files with 4 additions and 4 deletions

View File

@ -472,8 +472,8 @@ FixConstantOperandsForInstr(Instruction* vmInstr,
{
constantThatMustBeLoaded = true;
opValue = isSigned
? ConstantSInt::get(Type::LongTy, immedValue)
: ConstantUInt::get(Type::ULongTy, (uint64_t) immedValue);
? (Value*)ConstantSInt::get(Type::LongTy, immedValue)
: (Value*)ConstantUInt::get(Type::ULongTy,(uint64_t)immedValue);
}
}

View File

@ -472,8 +472,8 @@ FixConstantOperandsForInstr(Instruction* vmInstr,
{
constantThatMustBeLoaded = true;
opValue = isSigned
? ConstantSInt::get(Type::LongTy, immedValue)
: ConstantUInt::get(Type::ULongTy, (uint64_t) immedValue);
? (Value*)ConstantSInt::get(Type::LongTy, immedValue)
: (Value*)ConstantUInt::get(Type::ULongTy,(uint64_t)immedValue);
}
}