diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-15 17:26:38 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-15 17:26:38 +0000 |
commit | ce353b31ae327ad90dda4808814eba15cd662d35 (patch) | |
tree | dd5e97cf0bb3f33e63bec381858679896a6d27a7 /lib/Target/X86/AsmParser/X86AsmParser.cpp | |
parent | 8f138d1121730007f973131ca79a06a58f981011 (diff) |
[ms-inline asm] Update the end loc for ParseIntelMemOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/AsmParser/X86AsmParser.cpp')
-rw-r--r-- | lib/Target/X86/AsmParser/X86AsmParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp index 6fe2e26959..683d694909 100644 --- a/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/lib/Target/X86/AsmParser/X86AsmParser.cpp @@ -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); } |