diff options
-rw-r--r-- | llvm/include/llvm/ExecutionEngine/Orc/Layer.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Layer.h b/llvm/include/llvm/ExecutionEngine/Orc/Layer.h index 3bd23ae5416..be5d9653dd8 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<MemoryBuffer> O); - /// Adds a MaterializationUnit representing the given object to the main - /// JITDylib. - Error add(VModuleKey K, std::unique_ptr<MemoryBuffer> 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<MemoryBuffer> O) = 0; |