summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCParser/AsmParser.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-10-18 20:27:15 +0000
committerChad Rosier <mcrosier@apple.com>2012-10-18 20:27:15 +0000
commitd48d0784874c3e747508180228743ac2a1b9905a (patch)
tree19b9d4ae4df049b456d9a8f461a27acdf36400a2 /llvm/lib/MC/MCParser/AsmParser.cpp
parentb91b3f88adcd0fe3ee603f032a141d1229e3c3bb (diff)
downloadbcm5719-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.cpp4
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) {
OpenPOWER on IntegriCloud