summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-09-17 17:23:09 +0000
committerChris Lattner <sabre@nondot.org>2002-09-17 17:23:09 +0000
commit077b45d931d9266fda64d8c2733743e724f661f1 (patch)
tree1e93834aa9fe04ee0c840e0115dc0d13fae86448 /llvm
parent95094782a131a7250e96aaa9d2efb9ce9f7c9bb2 (diff)
downloadbcm5719-llvm-077b45d931d9266fda64d8c2733743e724f661f1.tar.gz
bcm5719-llvm-077b45d931d9266fda64d8c2733743e724f661f1.zip
Add support for GCC 2.96
llvm-svn: 3777
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp
index 3a85dbe70cb..508c0b6e5e0 100644
--- a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp
+++ b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp
@@ -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);
}
}
OpenPOWER on IntegriCloud