mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
add a new ExecutionEngine::createJIT which can be used if you only want
to create a JIT. This lets you specify JIT-specific configuration items like the JITMemoryManager to use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44647 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -108,6 +108,14 @@ public:
|
||||
/// is appropriate for the current machine. This takes ownership of the
|
||||
/// module.
|
||||
static ExecutionEngine *create(Module *M);
|
||||
|
||||
/// createJIT - This is the factory method for creating a JIT for the current
|
||||
/// machine, it does not fall back to the interpreter. This takes ownership
|
||||
/// of the ModuleProvider and JITMemoryManager if successful.
|
||||
static ExecutionEngine *createJIT(ModuleProvider *MP,
|
||||
std::string *ErrorStr = 0,
|
||||
JITMemoryManager *JMM = 0);
|
||||
|
||||
|
||||
|
||||
/// addModuleProvider - Add a ModuleProvider to the list of modules that we
|
||||
|
||||
Reference in New Issue
Block a user