diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-01-17 19:21:48 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-01-17 19:21:48 +0000 |
commit | 505bca3617fe310a5ff07914e3cf3ea6ae4d27ed (patch) | |
tree | 6c85368d39011db9823ea943776dbc1db75517c0 /lib/MC | |
parent | 3389dbcd243d91e1109009fb95bcdd8a779ea5f2 (diff) | |
download | external_llvm-505bca3617fe310a5ff07914e3cf3ea6ae4d27ed.zip external_llvm-505bca3617fe310a5ff07914e3cf3ea6ae4d27ed.tar.gz external_llvm-505bca3617fe310a5ff07914e3cf3ea6ae4d27ed.tar.bz2 |
[ms-inline asm] Add support for the 'SIZE' and 'LENGTH' operators.
Part of rdar://12576868
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCParser/AsmParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index f9ed63a..0aca2fa 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/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()) |