summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCParser/AsmParser.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-04-22 17:01:46 +0000
committerChad Rosier <mcrosier@apple.com>2013-04-22 17:01:46 +0000
commitf6675c3d3eed394dd3b5de788ed1fe1d55917e6b (patch)
tree3dace8790b554c238aa441472a1a22baa7d1ef79 /llvm/lib/MC/MCParser/AsmParser.cpp
parentb18a28552516fac248af39a7af16221a249cc482 (diff)
downloadbcm5719-llvm-f6675c3d3eed394dd3b5de788ed1fe1d55917e6b.tar.gz
bcm5719-llvm-f6675c3d3eed394dd3b5de788ed1fe1d55917e6b.zip
[ms-inline asm] Refactor/clean up the SemaLookup interface. No functional
change indended. Part of rdar://13663589 llvm-svn: 180028
Diffstat (limited to 'llvm/lib/MC/MCParser/AsmParser.cpp')
-rw-r--r--llvm/lib/MC/MCParser/AsmParser.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp
index be55d53d90f..d23a0ab59a3 100644
--- a/llvm/lib/MC/MCParser/AsmParser.cpp
+++ b/llvm/lib/MC/MCParser/AsmParser.cpp
@@ -4115,15 +4115,12 @@ AsmParser::parseMSInlineAsm(void *AsmLoc, std::string &AsmString,
}
// Expr/Input or Output.
- bool IsVarDecl;
- unsigned Length, Size, Type;
StringRef SymName = Operand->getSymName();
if (SymName.empty())
continue;
- void *OpDecl = SI.LookupInlineAsmIdentifier(SymName, AsmLoc,
- Length, Size, Type,
- IsVarDecl);
+ MCAsmParserSemaCallback::InlineAsmIdentifierInfo Info;
+ void *OpDecl = SI.LookupInlineAsmIdentifier(SymName, Info);
if (!OpDecl)
continue;
OpenPOWER on IntegriCloud