projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
248f496
)
[ms-inline asm] Get the OpDecl and remove a redundant lookup.
author
Chad Rosier
<mcrosier@apple.com>
Mon, 22 Apr 2013 22:12:12 +0000
(22:12 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Mon, 22 Apr 2013 22:12:12 +0000
(22:12 +0000)
Part of rdar://
13663589
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180057
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCParser/AsmParser.cpp
b/lib/MC/MCParser/AsmParser.cpp
index d23a0ab59a335768352cdfdba061437a6be65c0e..a903771bdba29ee012635de953b6df7ac1a637a6 100644
(file)
--- 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;