summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-05-08 19:14:42 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-05-08 19:14:42 +0000
commitfd82286e62fd94bfee7a99d734b49eff5182868e (patch)
tree750384eb7538c5d65c9098c0ae5fb4bc2a9dbc0e /llvm/lib/CodeGen
parentc515bfb9e7b07f4f0c1dfa950338ccf697624c07 (diff)
downloadbcm5719-llvm-fd82286e62fd94bfee7a99d734b49eff5182868e.tar.gz
bcm5719-llvm-fd82286e62fd94bfee7a99d734b49eff5182868e.zip
Formatting fixes.
Patch by Jack Carter. llvm-svn: 156409
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
index d60585465be..1844e44a47a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
@@ -326,11 +326,11 @@ void AsmPrinter::EmitInlineAsm(const MachineInstr *MI) const {
OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1;
}
- // We may have a location metadata attached to the end of the
- // instruction, and at no point should see metadata at any
- // other point while processing. It's an error if so.
+ // We may have a location metadata attached to the end of the
+ // instruction, and at no point should see metadata at any
+ // other point while processing. It's an error if so.
if (OpNo >= MI->getNumOperands() ||
- MI->getOperand(OpNo).isMetadata()) {
+ MI->getOperand(OpNo).isMetadata()) {
Error = true;
} else {
unsigned OpFlags = MI->getOperand(OpNo).getImm();
OpenPOWER on IntegriCloud