mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-02 21:31:41 +00:00
[ExecutionEngine] Move ObjectCache::anchor from MCJIT to ExecutionEngine.
ObjectCache is an ExecutionEngine utility, so its anchor belongs there. The practical impact of this change is that ORC users no longer need to link MCJIT to use ObjectCaches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280616 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e99c574578
commit
c6f214bfea
@ -18,6 +18,7 @@
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
#include "llvm/ExecutionEngine/GenericValue.h"
|
||||
#include "llvm/ExecutionEngine/JITEventListener.h"
|
||||
#include "llvm/ExecutionEngine/ObjectCache.h"
|
||||
#include "llvm/ExecutionEngine/RTDyldMemoryManager.h"
|
||||
#include "llvm/IR/Constants.h"
|
||||
#include "llvm/IR/DataLayout.h"
|
||||
@ -62,6 +63,8 @@ ExecutionEngine *(*ExecutionEngine::InterpCtor)(std::unique_ptr<Module> M,
|
||||
|
||||
void JITEventListener::anchor() {}
|
||||
|
||||
void ObjectCache::anchor() {}
|
||||
|
||||
void ExecutionEngine::Init(std::unique_ptr<Module> M) {
|
||||
CompilingLazily = false;
|
||||
GVCompilationDisabled = false;
|
||||
|
@ -29,8 +29,6 @@
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
void ObjectCache::anchor() {}
|
||||
|
||||
namespace {
|
||||
|
||||
static struct RegisterJIT {
|
||||
|
Loading…
x
Reference in New Issue
Block a user