diff options
| author | Lang Hames <lhames@gmail.com> | 2018-10-14 16:09:59 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2018-10-14 16:09:59 +0000 |
| commit | 9d2014c60d34169a4fb0bdac9b36681fd7fe7e7e (patch) | |
| tree | 87051a828b331ff80e4ced8a27a1f189a9c813f1 /llvm/include | |
| parent | a0590a4f7a661388f4924a88c0fff9ccf3683cf1 (diff) | |
| download | bcm5719-llvm-9d2014c60d34169a4fb0bdac9b36681fd7fe7e7e.tar.gz bcm5719-llvm-9d2014c60d34169a4fb0bdac9b36681fd7fe7e7e.zip | |
[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
Diffstat (limited to 'llvm/include')
| -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; |

