[ms-inline asm] Clean up comment.
authorChad Rosier <mcrosier@apple.com>
Tue, 23 Oct 2012 23:34:28 +0000 (23:34 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 23 Oct 2012 23:34:28 +0000 (23:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166525 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/AsmParser/X86AsmParser.cpp

index 31a96721f1f9f311d7d0a0c4816e637037c73161..1f4e8dae27132fcdbc2e5a0b44894aee9f593f39 100644 (file)
@@ -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);