Remove extraneous parents around constants when using a constant expr cast.

llvm-svn: 24357
This commit is contained in:
Chris Lattner 2005-11-15 00:03:16 +00:00
parent b720e2c29f
commit bba9c372c1
1 changed files with 0 additions and 2 deletions

View File

@ -118,9 +118,7 @@ void AsmPrinter::emitConstantValueOnly(const Constant *CV) {
|| (((TD.getTypeSize(Ty) >= TD.getTypeSize(OpTy))
&& OpTy->isLosslesslyConvertibleTo(Ty))))
&& "FIXME: Don't yet support this kind of constant cast expr");
O << "(";
emitConstantValueOnly(Op);
O << ")";
break;
}
case Instruction::Add: