diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2011-05-06 22:06:22 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2011-05-06 22:06:22 +0000 |
commit | c06b511eba8a0f7c6dd01c067836168cc33d7801 (patch) | |
tree | f172f1d35a6089f899a246ee5b750687568f701d /include/llvm/ExecutionEngine | |
parent | 71cbac6a834a6ab48598b57cf9e97d7b3da421ef (diff) | |
download | llvm-c06b511eba8a0f7c6dd01c067836168cc33d7801.tar.gz llvm-c06b511eba8a0f7c6dd01c067836168cc33d7801.tar.bz2 llvm-c06b511eba8a0f7c6dd01c067836168cc33d7801.tar.xz |
ExecutionEngine: push TargetMachine creation into clients
In particular, into EngineBuilder. This should only impact
the private API between the EE and EB classes, not external
clients, since JITCtor and MCJITCtor are both protected members.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine')
-rw-r--r-- | include/llvm/ExecutionEngine/ExecutionEngine.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h index fdc2ad9bf7..4a7e0b4750 100644 --- a/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -135,20 +135,14 @@ protected: JITMemoryManager *JMM, CodeGenOpt::Level OptLevel, bool GVsWithCode, - CodeModel::Model CMM, - StringRef MArch, - StringRef MCPU, - const SmallVectorImpl<std::string>& MAttrs); + TargetMachine *TM); static ExecutionEngine *(*MCJITCtor)( Module *M, std::string *ErrorStr, JITMemoryManager *JMM, CodeGenOpt::Level OptLevel, bool GVsWithCode, - CodeModel::Model CMM, - StringRef MArch, - StringRef MCPU, - const SmallVectorImpl<std::string>& MAttrs); + TargetMachine *TM); static ExecutionEngine *(*InterpCtor)(Module *M, std::string *ErrorStr); |