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:
adb52e5
)
[ORC] Fix unused variable warning.
author
Lang Hames
<lhames@gmail.com>
Mon, 19 Oct 2020 15:45:38 +0000
(08:45 -0700)
committer
Lang Hames
<lhames@gmail.com>
Mon, 19 Oct 2020 16:06:33 +0000
(09:06 -0700)
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
6f5a271
..
726cf10
100644
(file)
--- a/
llvm/lib/ExecutionEngine/Orc/Core.cpp
+++ b/
llvm/lib/ExecutionEngine/Orc/Core.cpp
@@
-1459,8
+1459,7
@@
JITDylib::removeTracker(ResourceTracker &RT) {
}
for (auto &Sym : SymbolsToRemove) {
- auto I = Symbols.find(Sym);
- assert(I != Symbols.end() && "Symbol not in symbol table");
+ assert(Symbols.count(Sym) && "Symbol not in symbol table");
// If there is a MaterializingInfo then collect any queries to fail.
auto MII = MaterializingInfos.find(Sym);