forked from OSchip/llvm-project
[ScopInfo] Do not lookup key twice [NFC]
Suggested-by: Michael Kruse <llvm@meinersbur.de> llvm-svn: 304410
This commit is contained in:
parent
c84cc230b3
commit
dff902fca7
|
@ -2019,7 +2019,7 @@ static std::string getCallParamName(CallInst *Call) {
|
|||
|
||||
auto Iterator = KnownNames.find(Name);
|
||||
if (Iterator != KnownNames.end())
|
||||
Name = "__" + KnownNames[Name];
|
||||
Name = "__" + Iterator->getValue();
|
||||
OS << Name;
|
||||
for (auto &Operand : Call->arg_operands()) {
|
||||
ConstantInt *Op = cast<ConstantInt>(&Operand);
|
||||
|
|
Loading…
Reference in New Issue