From 9d2014c60d34169a4fb0bdac9b36681fd7fe7e7e Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Sun, 14 Oct 2018 16:09:59 +0000 Subject: [PATCH] [ORC] Remove XXLayer::add methods that default to using the main JITDylib. They're not currently used and may complicate upcoming changes to add's signature and behavior. llvm-svn: 344478 --- llvm/include/llvm/ExecutionEngine/Orc/Layer.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Layer.h b/llvm/include/llvm/ExecutionEngine/Orc/Layer.h index 3bd23ae..be5d965 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Layer.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Layer.h @@ -51,12 +51,6 @@ public: /// JITDylib. virtual Error add(JITDylib &JD, VModuleKey K, ThreadSafeModule TSM); - /// Adds a MaterializationUnit representing the given IR to the main - /// JITDylib. - Error add(VModuleKey K, ThreadSafeModule TSM) { - return add(ES.getMainJITDylib(), K, std::move(TSM)); - } - /// Emit should materialize the given IR. virtual void emit(MaterializationResponsibility R, VModuleKey K, ThreadSafeModule TSM) = 0; @@ -127,12 +121,6 @@ public: /// JITDylib. virtual Error add(JITDylib &JD, VModuleKey K, std::unique_ptr O); - /// Adds a MaterializationUnit representing the given object to the main - /// JITDylib. - Error add(VModuleKey K, std::unique_ptr O) { - return add(ES.getMainJITDylib(), K, std::move(O)); - } - /// Emit should materialize the given IR. virtual void emit(MaterializationResponsibility R, VModuleKey K, std::unique_ptr O) = 0; -- 2.7.4