diff options
author | Lang Hames <lhames@gmail.com> | 2018-09-12 21:49:02 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-09-12 21:49:02 +0000 |
commit | 8be0d2e3c25c0399537d965f0055224e16ca1d3b (patch) | |
tree | b12153c3d18fb203f29efef3e477b3500cda698f /llvm/lib/ExecutionEngine/Orc/Legacy.cpp | |
parent | 13014d3ce336fa30ca480ae4912ab72847910610 (diff) | |
download | bcm5719-llvm-8be0d2e3c25c0399537d965f0055224e16ca1d3b.tar.gz bcm5719-llvm-8be0d2e3c25c0399537d965f0055224e16ca1d3b.zip |
[ORC] Merge ExecutionSessionBase with ExecutionSession by moving a couple of
template methods in JITDylib out-of-line.
This also splits JITDylib::define into a pair of template methods, one taking an
lvalue reference and the other an rvalue reference. This simplifies the
templates at the cost of a small amount of code duplication.
llvm-svn: 342087
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/Legacy.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/Legacy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/Legacy.cpp b/llvm/lib/ExecutionEngine/Orc/Legacy.cpp index 517176e5f42..925729e0eee 100644 --- a/llvm/lib/ExecutionEngine/Orc/Legacy.cpp +++ b/llvm/lib/ExecutionEngine/Orc/Legacy.cpp @@ -35,7 +35,7 @@ JITSymbolResolverAdapter::lookup(const LookupSet &Symbols) { }; auto InternedResult = - ES.legacyLookup(ES, std::move(LookupFn), std::move(InternedSymbols), + ES.legacyLookup(std::move(LookupFn), std::move(InternedSymbols), false, RegisterDependencies); if (!InternedResult) |