This needs braces. Spotted by Bill.

llvm-svn: 161906
This commit is contained in:
Eric Christopher 2012-08-14 23:32:15 +00:00
parent 767a7b9ed0
commit 5f61a7498b
1 changed files with 2 additions and 1 deletions

View File

@ -532,7 +532,7 @@ bool ARMAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNum,
// This modifier is not yet supported.
case 'h': // A range of VFP/NEON registers suitable for VLD1/VST1.
return true;
case 'H': // The highest-numbered register of a pair.
case 'H': { // The highest-numbered register of a pair.
const MachineOperand &MO = MI->getOperand(OpNum);
if (!MO.isReg())
return true;
@ -547,6 +547,7 @@ bool ARMAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNum,
O << ARMInstPrinter::getRegisterName(Reg);
return false;
}
}
}
printOperand(MI, OpNum, O);