From d13d13496f4f654395e4e939839c95e80274c724 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 26 Jan 2011 02:06:22 +0000 Subject: [PATCH] Add needed braces. llvm-svn: 124273 --- llvm/lib/Target/ARM/ARMMCInstLower.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Target/ARM/ARMMCInstLower.cpp b/llvm/lib/Target/ARM/ARMMCInstLower.cpp index 4f5b95269563..59d60506fc0f 100644 --- a/llvm/lib/Target/ARM/ARMMCInstLower.cpp +++ b/llvm/lib/Target/ARM/ARMMCInstLower.cpp @@ -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); }