mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add new parameter Fast to createJIT to enable the fast codegen path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54523 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -79,7 +79,8 @@ protected:
|
||||
// To avoid having libexecutionengine depend on the JIT and interpreter
|
||||
// libraries, the JIT and Interpreter set these functions to ctor pointers
|
||||
// at startup time if they are linked in.
|
||||
typedef ExecutionEngine *(*EECtorFn)(ModuleProvider*, std::string*);
|
||||
typedef ExecutionEngine *(*EECtorFn)(ModuleProvider*, std::string*,
|
||||
bool Fast);
|
||||
static EECtorFn JITCtor, InterpCtor;
|
||||
|
||||
/// LazyFunctionCreator - If an unknown function is needed, this function
|
||||
@@ -108,7 +109,8 @@ public:
|
||||
/// module provider.
|
||||
static ExecutionEngine *create(ModuleProvider *MP,
|
||||
bool ForceInterpreter = false,
|
||||
std::string *ErrorStr = 0);
|
||||
std::string *ErrorStr = 0,
|
||||
bool Fast = false);
|
||||
|
||||
/// create - This is the factory method for creating an execution engine which
|
||||
/// is appropriate for the current machine. This takes ownership of the
|
||||
@@ -120,7 +122,8 @@ public:
|
||||
/// of the ModuleProvider and JITMemoryManager if successful.
|
||||
static ExecutionEngine *createJIT(ModuleProvider *MP,
|
||||
std::string *ErrorStr = 0,
|
||||
JITMemoryManager *JMM = 0);
|
||||
JITMemoryManager *JMM = 0,
|
||||
bool Fast = false);
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user