projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ebd641
)
[ORC] Remove redundant condition
author
Lang Hames
<lhames@gmail.com>
Sun, 17 Jun 2018 23:54:58 +0000
(23:54 +0000)
committer
Lang Hames
<lhames@gmail.com>
Sun, 17 Jun 2018 23:54:58 +0000
(23:54 +0000)
llvm-svn: 334918
llvm/lib/ExecutionEngine/Orc/Core.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/ExecutionEngine/Orc/Core.cpp
b/llvm/lib/ExecutionEngine/Orc/Core.cpp
index
21b7ef2
..
8f920ed
100644
(file)
--- 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;