1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

quish a warning

llvm-svn: 15954
This commit is contained in:
Chris Lattner 2004-08-20 18:07:39 +00:00
parent 448910c216
commit fb6d2225ff

View File

@ -1370,7 +1370,7 @@ ConstExpr: CAST '(' ConstVal TO Types ')' {
if (!isa<PointerType>($3->getType())) {
$$ = ConstantExpr::get($1, $3, $5);
} else {
const Type *IntPtrTy;
const Type *IntPtrTy = 0;
switch (CurModule.CurrentModule->getPointerSize()) {
case Module::Pointer32: IntPtrTy = Type::IntTy; break;
case Module::Pointer64: IntPtrTy = Type::LongTy; break;