mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
[ms-inline asm] Simplify the logic by using parsePrimaryExpr. No functional
change intended. Test case previously added in r178568. Part of rdar://13611297 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179425 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d35d5bdfc4
commit
41a10b6c4e
@ -1390,7 +1390,7 @@ X86Operand *X86AsmParser::ParseIntelMemOperand(unsigned SegReg,
|
||||
|
||||
const MCExpr *Disp = 0;
|
||||
StringRef Identifier = Tok.getString();
|
||||
if (getParser().parseExpression(Disp, End))
|
||||
if (getParser().parsePrimaryExpr(Disp, End))
|
||||
return 0;
|
||||
|
||||
if (!isParsingInlineAsm())
|
||||
|
Loading…
x
Reference in New Issue
Block a user