mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01: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. llvm-svn: 280616
This commit is contained in:
parent
e09e716ef5
commit
b0cac60a81
@ -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