diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-08 08:11:34 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-08 08:11:34 +0000 |
commit | a6394fc2901d45b5207c96deae4486e25c203eac (patch) | |
tree | 5c2ccb21d8acceb0846fb0f5e0b162509310cb01 /include/llvm/ExecutionEngine | |
parent | b11ac88a997a2d07c5400c43a2217225fc896ce2 (diff) | |
download | external_llvm-a6394fc2901d45b5207c96deae4486e25c203eac.zip external_llvm-a6394fc2901d45b5207c96deae4486e25c203eac.tar.gz external_llvm-a6394fc2901d45b5207c96deae4486e25c203eac.tar.bz2 |
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
Diffstat (limited to 'include/llvm/ExecutionEngine')
-rw-r--r-- | include/llvm/ExecutionEngine/ExecutionEngine.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h index 6fd368d..edcddde 100644 --- a/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -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); |