mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-06 05:06:45 +00:00
[ms-inline asm] Move this variable into the scope in which it is used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179866 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fea1f8ee7a
commit
3031ac0131
@ -1584,10 +1584,10 @@ X86Operand *X86AsmParser::ParseIntelOperator(unsigned OpKind) {
|
||||
X86Operand *X86AsmParser::ParseIntelOperand() {
|
||||
const AsmToken &Tok = Parser.getTok();
|
||||
SMLoc Start = Tok.getLoc(), End;
|
||||
StringRef AsmTokStr = Tok.getString();
|
||||
|
||||
// Offset, length, type and size operators.
|
||||
if (isParsingInlineAsm()) {
|
||||
StringRef AsmTokStr = Tok.getString();
|
||||
if (AsmTokStr == "offset" || AsmTokStr == "OFFSET")
|
||||
return ParseIntelOffsetOfOperator();
|
||||
if (AsmTokStr == "length" || AsmTokStr == "LENGTH")
|
||||
|
Loading…
Reference in New Issue
Block a user