Add needed braces.

llvm-svn: 124273
This commit is contained in:
Bill Wendling 2011-01-26 02:06:22 +00:00
parent 0cfdac078e
commit d13d13496f
1 changed files with 2 additions and 1 deletions

View File

@ -101,13 +101,14 @@ void llvm::LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
case MachineOperand::MO_BlockAddress:
MCOp = GetSymbolRef(MO,AP.GetBlockAddressSymbol(MO.getBlockAddress()),AP);
break;
case MachineOperand::MO_FPImmediate:
case MachineOperand::MO_FPImmediate: {
APFloat Val = MO.getFPImm()->getValueAPF();
bool ignored;
Val.convert(APFloat::IEEEdouble, APFloat::rmTowardZero, &ignored);
MCOp = MCOperand::CreateFPImm(Val.convertToDouble());
break;
}
}
OutMI.addOperand(MCOp);
}