summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-10-23 23:34:28 +0000
committerChad Rosier <mcrosier@apple.com>2012-10-23 23:34:28 +0000
commiteac2b2003e9347aa8014a8793f317f03301d7598 (patch)
treedeb62f367f24b02f6d8e1e5cfe1ed13c2b525c5f /llvm/lib
parent03c181b0214a474f0648283c9a7ebd8f05c2f45b (diff)
downloadbcm5719-llvm-eac2b2003e9347aa8014a8793f317f03301d7598.tar.gz
bcm5719-llvm-eac2b2003e9347aa8014a8793f317f03301d7598.zip
[ms-inline asm] Clean up comment.
llvm-svn: 166525
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
index 31a96721f1f..1f4e8dae271 100644
--- a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -811,9 +811,9 @@ X86Operand *X86AsmParser::ParseIntelMemOperand(unsigned SegReg, SMLoc Start) {
if (!isParsingInlineAsm())
return X86Operand::CreateMem(Disp, Start, End, OffsetOfLoc, Size);
else
- // When parsing inline assembly we set the basereg to a non-zero value as we
- // don't know the actualy value at this time. This is necessary to get the
- // matching correct in some cases.
+ // When parsing inline assembly we set the base register to a non-zero value
+ // as we don't know the actual value at this time. This is necessary to
+ // get the matching correct in some cases.
return X86Operand::CreateMem(/*SegReg*/0, Disp, /*BaseReg*/1, /*IndexReg*/0,
/*Scale*/1, Start, End, OffsetOfLoc, Size,
OffsetOf, NeedSizeDir);
OpenPOWER on IntegriCloud