summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2018-02-06 21:52:46 +0000
committerLang Hames <lhames@gmail.com>2018-02-06 21:52:46 +0000
commite33798f53d2b7b7d485c1346eb2e6ed6dd212c23 (patch)
tree223586bb378e2d05b366d64e23f25be57b05656b /llvm/tools
parentdfea544c846f36b515edf7dda629842a7f972351 (diff)
downloadbcm5719-llvm-e33798f53d2b7b7d485c1346eb2e6ed6dd212c23.tar.gz
bcm5719-llvm-e33798f53d2b7b7d485c1346eb2e6ed6dd212c23.zip
[ORC] Remove some unused lambda captures.
llvm-svn: 324410
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/lli/OrcLazyJIT.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/lli/OrcLazyJIT.h b/llvm/tools/lli/OrcLazyJIT.h
index 66c5c5b63f2..8a5ab98cd0f 100644
--- a/llvm/tools/lli/OrcLazyJIT.h
+++ b/llvm/tools/lli/OrcLazyJIT.h
@@ -148,7 +148,7 @@ public:
};
auto LegacyLookup =
- [this, LegacyLookupInDylib](const std::string &Name) -> JITSymbol {
+ [LegacyLookupInDylib](const std::string &Name) -> JITSymbol {
if (auto Sym = LegacyLookupInDylib(Name))
return Sym;
else if (auto Err = Sym.takeError())
@@ -163,8 +163,8 @@ public:
auto K = ES.allocateVModule();
assert(!Resolvers.count(K) && "Resolver already present");
Resolvers[K] = orc::createSymbolResolver(
- [this, LegacyLookupInDylib](orc::SymbolFlagsMap &SymbolFlags,
- const orc::SymbolNameSet &Symbols) {
+ [LegacyLookupInDylib](orc::SymbolFlagsMap &SymbolFlags,
+ const orc::SymbolNameSet &Symbols) {
auto NotFoundViaLegacyLookup = lookupFlagsWithLegacyFn(
SymbolFlags, Symbols, LegacyLookupInDylib);
if (!NotFoundViaLegacyLookup) {
OpenPOWER on IntegriCloud