[ORC] Remove redundant condition
authorLang Hames <lhames@gmail.com>
Sun, 17 Jun 2018 23:54:58 +0000 (23:54 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 17 Jun 2018 23:54:58 +0000 (23:54 +0000)
llvm-svn: 334918

llvm/lib/ExecutionEngine/Orc/Core.cpp

index 21b7ef2..8f920ed 100644 (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;