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 | d48d0784874c3e747508180228743ac2a1b9905a (patch) | |
tree | 19b9d4ae4df049b456d9a8f461a27acdf36400a2 /llvm/lib/MC/MCParser/AsmParser.cpp | |
parent | b91b3f88adcd0fe3ee603f032a141d1229e3c3bb (diff) | |
download | bcm5719-llvm-d48d0784874c3e747508180228743ac2a1b9905a.tar.gz bcm5719-llvm-d48d0784874c3e747508180228743ac2a1b9905a.zip |
[ms-inline asm] Add a size argument to the LookupInlineAsmIdentifier() callback,
which will be used by the asm matcher in the near future.
llvm-svn: 166222
Diffstat (limited to 'llvm/lib/MC/MCParser/AsmParser.cpp')
-rw-r--r-- | llvm/lib/MC/MCParser/AsmParser.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp index 0e8fe6d5e94..6259c15c206 100644 --- a/llvm/lib/MC/MCParser/AsmParser.cpp +++ b/llvm/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) { |