summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Orc
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2018-06-17 23:54:58 +0000
committerLang Hames <lhames@gmail.com>2018-06-17 23:54:58 +0000
commit0705ee8dc2a095362e7113ded764056d79bcc664 (patch)
treea1fca1b51712c771945bcfeb1a2f5feffe8ea38f /llvm/lib/ExecutionEngine/Orc
parent7ebd641fcf718d309853825fe40a328b16ca74ed (diff)
downloadbcm5719-llvm-0705ee8dc2a095362e7113ded764056d79bcc664.tar.gz
bcm5719-llvm-0705ee8dc2a095362e7113ded764056d79bcc664.zip
[ORC] Remove redundant condition
llvm-svn: 334918
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc')
-rw-r--r--llvm/lib/ExecutionEngine/Orc/Core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/Core.cpp b/llvm/lib/ExecutionEngine/Orc/Core.cpp
index 21b7ef2851f..8f920edb4fd 100644
--- a/llvm/lib/ExecutionEngine/Orc/Core.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/Core.cpp
@@ -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;
OpenPOWER on IntegriCloud