diff options
author | Andrew Trick <atrick@apple.com> | 2013-10-31 17:18:07 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-10-31 17:18:07 +0000 |
commit | cf940ceff73f567876f1a1f62d3acbf67c43ea90 (patch) | |
tree | 838ad26bbb450528b9deebe02ea39da5fa4a9f41 /lib/Target/X86/X86AsmPrinter.cpp | |
parent | d7ef09bc9a6dea29a4ac4a45e722d479e8c50f6d (diff) | |
download | external_llvm-cf940ceff73f567876f1a1f62d3acbf67c43ea90.zip external_llvm-cf940ceff73f567876f1a1f62d3acbf67c43ea90.tar.gz external_llvm-cf940ceff73f567876f1a1f62d3acbf67c43ea90.tar.bz2 |
whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86AsmPrinter.cpp')
-rw-r--r-- | lib/Target/X86/X86AsmPrinter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index 12b9c1e..84f633f 100644 --- a/lib/Target/X86/X86AsmPrinter.cpp +++ b/lib/Target/X86/X86AsmPrinter.cpp @@ -333,21 +333,21 @@ void X86AsmPrinter::printIntelMemReference(const MachineInstr *MI, unsigned Op, const MachineOperand &IndexReg = MI->getOperand(Op+2); const MachineOperand &DispSpec = MI->getOperand(Op+3); const MachineOperand &SegReg = MI->getOperand(Op+4); - + // If this has a segment register, print it. if (SegReg.getReg()) { printOperand(MI, Op+4, O, Modifier, AsmVariant); O << ':'; } - + O << '['; - + bool NeedPlus = false; if (BaseReg.getReg()) { printOperand(MI, Op, O, Modifier, AsmVariant); NeedPlus = true; } - + if (IndexReg.getReg()) { if (NeedPlus) O << " + "; if (ScaleVal != 1) |