summaryrefslogtreecommitdiff
path: root/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
commitd4d96acb9117574510390af700ec0eca375f58f2 (patch)
tree21187547313669a3f869c3c275cf16f6f7e46a04 /lib
parent2a784131fed4bc99c0ae96b5252a3fe0079a3079 (diff)
downloadllvm-d4d96acb9117574510390af700ec0eca375f58f2.tar.gz
llvm-d4d96acb9117574510390af700ec0eca375f58f2.tar.bz2
llvm-d4d96acb9117574510390af700ec0eca375f58f2.tar.xz
[ms-inline asm] Clean up comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166525 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/AsmParser/X86AsmParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp
index 31a96721f1..1f4e8dae27 100644
--- a/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/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);