summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCParser/AsmParser.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-01-17 19:21:48 +0000
committerChad Rosier <mcrosier@apple.com>2013-01-17 19:21:48 +0000
commitd0ed73acb4d63009ed6b3d142244dd310cbebece (patch)
treec4b746d16b23f47895f31824a11e5e4e10fe6dca /llvm/lib/MC/MCParser/AsmParser.cpp
parent4edf11fcf0e445845773806666cb0e7bc7296d41 (diff)
downloadbcm5719-llvm-d0ed73acb4d63009ed6b3d142244dd310cbebece.tar.gz
bcm5719-llvm-d0ed73acb4d63009ed6b3d142244dd310cbebece.zip
[ms-inline asm] Add support for the 'SIZE' and 'LENGTH' operators.
Part of rdar://12576868 llvm-svn: 172743
Diffstat (limited to 'llvm/lib/MC/MCParser/AsmParser.cpp')
-rw-r--r--llvm/lib/MC/MCParser/AsmParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp
index f9ed63a668c..0aca2fa46e7 100644
--- a/llvm/lib/MC/MCParser/AsmParser.cpp
+++ b/llvm/lib/MC/MCParser/AsmParser.cpp
@@ -3956,10 +3956,10 @@ bool AsmParser::ParseMSInlineAsm(void *AsmLoc, std::string &AsmString,
}
// Expr/Input or Output.
- unsigned Size;
bool IsVarDecl;
+ unsigned Length, Size, Type;
void *OpDecl = SI.LookupInlineAsmIdentifier(Operand->getName(), AsmLoc,
- Size, IsVarDecl);
+ Length, Size, Type, IsVarDecl);
if (OpDecl) {
bool isOutput = (i == 1) && Desc.mayStore();
if (Operand->isMem() && Operand->needSizeDirective())
OpenPOWER on IntegriCloud