From: Chad Rosier Date: Tue, 23 Oct 2012 23:34:28 +0000 (+0000) Subject: [ms-inline asm] Clean up comment. X-Git-Tag: llvmorg-3.2.0-rc1~1033 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eac2b2003e9347aa8014a8793f317f03301d7598;p=platform%2Fupstream%2Fllvm.git [ms-inline asm] Clean up comment. llvm-svn: 166525 --- diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp index 31a96721f1f9..1f4e8dae2713 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);