mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 10:57:32 +00:00
[ms-inline asm] Get the OpDecl and remove a redundant lookup.
Part of rdar://13663589 llvm-svn: 180057
This commit is contained in:
parent
92895762d6
commit
a83a69c04e
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user