Skip to content

Commit dba3fe5

Browse files
author
Chad Rosier
committed
[ms-inline asm] Get the OpDecl and remove a redundant lookup.
Part of rdar://13663589 llvm-svn: 180057
1 parent 760b5e3 commit dba3fe5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/MC/MCParser/AsmParser.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4119,8 +4119,7 @@ AsmParser::parseMSInlineAsm(void *AsmLoc, std::string &AsmString,
41194119
if (SymName.empty())
41204120
continue;
41214121

4122-
MCAsmParserSemaCallback::InlineAsmIdentifierInfo Info;
4123-
void *OpDecl = SI.LookupInlineAsmIdentifier(SymName, Info);
4122+
void *OpDecl = Operand->getOpDecl();
41244123
if (!OpDecl)
41254124
continue;
41264125

0 commit comments

Comments
 (0)