[llvm-commits] [llvm] r166525 - /llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
Chad Rosier
mcrosier at apple.com
Tue Oct 23 16:34:28 PDT 2012
Author: mcrosier
Date: Tue Oct 23 18:34:28 2012
New Revision: 166525
URL: http://llvm.org/viewvc/llvm-project?rev=166525&view=rev
Log:
[ms-inline asm] Clean up comment.
Modified:
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=166525&r1=166524&r2=166525&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Tue Oct 23 18:34:28 2012
@@ -811,9 +811,9 @@
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);
More information about the llvm-commits
mailing list