]> granicus.if.org Git - llvm/commitdiff
[ORC] Remove a dead method.
authorLang Hames <lhames@gmail.com>
Fri, 2 Aug 2019 20:09:30 +0000 (20:09 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 2 Aug 2019 20:09:30 +0000 (20:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367716 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/Orc/Core.h
lib/ExecutionEngine/Orc/Core.cpp

index 94a5618233e4a828501810cbd8f3395a1f400955..9a4c4455fd44551a11e5be3778c7b5dd8669ee35 100644 (file)
@@ -638,7 +638,6 @@ private:
     void addQuery(std::shared_ptr<AsynchronousSymbolQuery> Q);
     void removeQuery(const AsynchronousSymbolQuery &Q);
     AsynchronousSymbolQueryList takeQueriesMeeting(SymbolState RequiredState);
-    AsynchronousSymbolQueryList takeAllQueries();
     bool hasQueriesPending() const { return !PendingQueries.empty(); }
     const AsynchronousSymbolQueryList &pendingQueries() const {
       return PendingQueries;
index dac37e030e0cfb84db3fc6e65ec94d8585876e70..8094d68047b1883bc427fa96ef427a4e56fa7167 100644 (file)
@@ -1486,13 +1486,6 @@ JITDylib::MaterializingInfo::takeQueriesMeeting(SymbolState RequiredState) {
   return Result;
 }
 
-JITDylib::AsynchronousSymbolQueryList
-JITDylib::MaterializingInfo::takeAllQueries() {
-  AsynchronousSymbolQueryList Result;
-  std::swap(Result, PendingQueries);
-  return Result;
-}
-
 JITDylib::JITDylib(ExecutionSession &ES, std::string Name)
     : ES(ES), JITDylibName(std::move(Name)) {
   SearchOrder.push_back({this, true});