projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f138d1
)
[ms-inline asm] Update the end loc for ParseIntelMemOperand.
author
Chad Rosier
<mcrosier@apple.com>
Mon, 15 Oct 2012 17:26:38 +0000
(17:26 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Mon, 15 Oct 2012 17:26:38 +0000
(17:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165947
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/AsmParser/X86AsmParser.cpp
b/lib/Target/X86/AsmParser/X86AsmParser.cpp
index 6fe2e26959524a4fee9883366eb67b1bd16a8052..683d6949094b699b8b567895addec339587cc87a 100644
(file)
--- 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);
}