aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-08-14 23:32:15 +0000
committerEric Christopher <echristo@apple.com>2012-08-14 23:32:15 +0000
commit6eef0e2f8767ee691413bf8344e1d2db527c8a43 (patch)
treee16005c70561e49fa390a1248e7bd2757602350d
parentb7bf7266fe0a1e84039d9240d1480b3cc9c33aba (diff)
downloadexternal_llvm-6eef0e2f8767ee691413bf8344e1d2db527c8a43.zip
external_llvm-6eef0e2f8767ee691413bf8344e1d2db527c8a43.tar.gz
external_llvm-6eef0e2f8767ee691413bf8344e1d2db527c8a43.tar.bz2
This needs braces. Spotted by Bill.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161906 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp
index 8536b94..e9e2803 100644
--- a/lib/Target/ARM/ARMAsmPrinter.cpp
+++ b/lib/Target/ARM/ARMAsmPrinter.cpp
@@ -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);