[ORC] Remove redundant condition

llvm-svn: 334918
This commit is contained in:
Lang Hames 2018-06-17 23:54:58 +00:00
parent 7ebd641fcf
commit 0705ee8dc2
1 changed files with 1 additions and 1 deletions

View File

@ -883,7 +883,7 @@ Error VSO::defineImpl(MaterializationUnit &MU) {
if (!Duplicates.empty()) {
// We need to remove the symbols we added.
for (auto &KV : MU.getSymbols()) {
if (Duplicates.count(KV.first) || Duplicates.count(KV.first))
if (Duplicates.count(KV.first))
continue;
bool Found = false;