diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-03 19:00:20 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-03 19:00:20 +0000 |
commit | 095e1cdaca6e9db387bba10290ab3611d56fa1a1 (patch) | |
tree | cc6ee725bb18d8970ab290491678ee528026e7d0 /llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp | |
parent | d95ceff0925d5820e6ed8f1fbd188f8d9295e1cf (diff) | |
download | bcm5719-llvm-095e1cdaca6e9db387bba10290ab3611d56fa1a1.tar.gz bcm5719-llvm-095e1cdaca6e9db387bba10290ab3611d56fa1a1.zip |
Typos.
llvm-svn: 165141
Diffstat (limited to 'llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp b/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp index f9bb3be9d73..7c60c026d35 100644 --- a/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp +++ b/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp @@ -1,4 +1,4 @@ -//===-- X86IntelInstPrinter.cpp - AT&T assembly instruction printing ------===// +//===-- X86IntelInstPrinter.cpp - Intel assembly instruction printing -----===// // // The LLVM Compiler Infrastructure // @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file includes code for rendering MCInst instances as AT&T-style +// This file includes code for rendering MCInst instances as Intel-style // assembly. // //===----------------------------------------------------------------------===// @@ -160,8 +160,7 @@ void X86IntelInstPrinter::printMemReference(const MCInst *MI, unsigned Op, printOperand(MI, Op+2, O); NeedPlus = true; } - - + if (!DispSpec.isImm()) { if (NeedPlus) O << " + "; assert(DispSpec.isExpr() && "non-immediate displacement for LEA?"); |