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:
a08d4d0
)
[ORC] More cleanup. NFC.
author
Lang Hames
<lhames@gmail.com>
Sun, 21 Jan 2018 03:20:36 +0000
(
03:20
+0000)
committer
Lang Hames
<lhames@gmail.com>
Sun, 21 Jan 2018 03:20:36 +0000
(
03:20
+0000)
llvm-svn: 323059
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
d53fc44
..
c99c8ec
100644
(file)
--- a/
llvm/lib/ExecutionEngine/Orc/Core.cpp
+++ b/
llvm/lib/ExecutionEngine/Orc/Core.cpp
@@
-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