diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-04-22 22:12:12 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-04-22 22:12:12 +0000 |
commit | 087c309779dbd20b3924319fd8f84df663a62058 (patch) | |
tree | 8d8b66058f766804ab4a972588f9c3b93d644ae4 | |
parent | 248f4965d29362db182d642cdf5fcbeba5c997a4 (diff) |
[ms-inline asm] Get the OpDecl and remove a redundant lookup.
Part of rdar://13663589
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180057 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/MC/MCParser/AsmParser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index d23a0ab59a..a903771bdb 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -4119,8 +4119,7 @@ AsmParser::parseMSInlineAsm(void *AsmLoc, std::string &AsmString, if (SymName.empty()) continue; - MCAsmParserSemaCallback::InlineAsmIdentifierInfo Info; - void *OpDecl = SI.LookupInlineAsmIdentifier(SymName, Info); + void *OpDecl = Operand->getOpDecl(); if (!OpDecl) continue; |