diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-18 20:27:15 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-18 20:27:15 +0000 |
commit | 3298959540ca744ec16b4c65db244534a929a862 (patch) | |
tree | 88d4e8fcf733f6041c3a298584bdf120ab7a5c83 /lib/MC | |
parent | 974b1907178f980063d4b4defefe3eb4d3d50b7b (diff) | |
download | external_llvm-3298959540ca744ec16b4c65db244534a929a862.zip external_llvm-3298959540ca744ec16b4c65db244534a929a862.tar.gz external_llvm-3298959540ca744ec16b4c65db244534a929a862.tar.bz2 |
[ms-inline asm] Add a size argument to the LookupInlineAsmIdentifier() callback,
which will be used by the asm matcher in the near future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCParser/AsmParser.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index 0e8fe6d..6259c15 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -3643,7 +3643,9 @@ bool AsmParser::ParseMSInlineAsm(void *AsmLoc, std::string &AsmString, } // Expr/Input or Output. - void *OpDecl = SI.LookupInlineAsmIdentifier(Operand->getName(), AsmLoc); + unsigned Size; + void *OpDecl = SI.LookupInlineAsmIdentifier(Operand->getName(), AsmLoc, + Size); if (OpDecl) { bool isOutput = (i == 1) && Desc.mayStore(); if (isOutput) { |