mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 16:16:45 +00:00
[ms-inline asm] Update the end loc for ParseIntelMemOperand.
llvm-svn: 165947
This commit is contained in:
parent
77614bbd0e
commit
d95d1262b9
@ -752,6 +752,7 @@ X86Operand *X86AsmParser::ParseIntelMemOperand(unsigned SegReg, SMLoc Start) {
|
||||
|
||||
const MCExpr *Disp = MCConstantExpr::Create(0, getParser().getContext());
|
||||
if (getParser().ParseExpression(Disp, End)) return 0;
|
||||
End = Parser.getTok().getLoc();
|
||||
return X86Operand::CreateMem(Disp, Start, End, Size);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user