mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 00:33:09 +00:00
This needs braces. Spotted by Bill.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161906 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b7bf7266fe
commit
6eef0e2f87
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user