forked from OSchip/llvm-project
[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
This commit is contained in:
parent
a0590a4f7a
commit
9d2014c60d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue