[ORC] More cleanup. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323059 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2018-01-21 03:20:36 +00:00
parent 4f0f375320
commit 11d1660180

View File

@ -296,11 +296,11 @@ VSO::LookupResult VSO::lookup(AsynchronousSymbolQuery &Query,
auto SymI = Symbols.find(*Tmp);
// If the symbol isn't in this dylib then just continue.
// If it is, erase it from Names and proceed.
if (SymI == Symbols.end())
continue;
else
Names.erase(Tmp);
// The symbol is in the dylib. Erase it from Names and proceed.
Names.erase(Tmp);
// Forward the query to the given SymbolTableEntry, and if it return a
// layer to perform materialization with, add that to the