diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2011-05-13 21:51:29 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2011-05-13 21:51:29 +0000 |
commit | c5b28580a94e247300e5d3ccf532e153f2ae6f12 (patch) | |
tree | 6996428759f0214386a986e37a152846cf3aeeca /lib/ExecutionEngine/JIT/JIT.h | |
parent | 2ea29ba2a8ddd7ba4b946eb754f1a39304d9fc09 (diff) |
ExecutionEngine: push TargetMachine creation into clients (v2)
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@131317 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r-- | lib/ExecutionEngine/JIT/JIT.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.h b/lib/ExecutionEngine/JIT/JIT.h index bcf638b8d9..b879fc36e5 100644 --- a/lib/ExecutionEngine/JIT/JIT.h +++ b/lib/ExecutionEngine/JIT/JIT.h @@ -186,10 +186,7 @@ public: JITMemoryManager *JMM, CodeGenOpt::Level OptLevel, bool GVsWithCode, - CodeModel::Model CMM, - StringRef MArch, - StringRef MCPU, - const SmallVectorImpl<std::string>& MAttrs); + TargetMachine *TM); // Run the JIT on F and return information about the generated code void runJITOnFunction(Function *F, MachineCodeInfo *MCI = 0); |