mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-02 17:55:18 +00:00
[ms-inline asm] Clean up comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a784131fe
commit
d4d96acb91
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user