mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Add ability to set code model within the execution engine builders
and creation interfaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89151 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -40,7 +40,8 @@ ExecutionEngine *(*ExecutionEngine::JITCtor)(ModuleProvider *MP,
|
||||
std::string *ErrorStr,
|
||||
JITMemoryManager *JMM,
|
||||
CodeGenOpt::Level OptLevel,
|
||||
bool GVsWithCode) = 0;
|
||||
bool GVsWithCode,
|
||||
CodeModel::Model CMM) = 0;
|
||||
ExecutionEngine *(*ExecutionEngine::InterpCtor)(ModuleProvider *MP,
|
||||
std::string *ErrorStr) = 0;
|
||||
ExecutionEngine::EERegisterFn ExecutionEngine::ExceptionTableRegister = 0;
|
||||
@ -444,7 +445,7 @@ ExecutionEngine *EngineBuilder::create() {
|
||||
if (ExecutionEngine::JITCtor) {
|
||||
ExecutionEngine *EE =
|
||||
ExecutionEngine::JITCtor(MP, ErrorStr, JMM, OptLevel,
|
||||
AllocateGVsWithCode);
|
||||
AllocateGVsWithCode, CMModel);
|
||||
if (EE) return EE;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user