summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/JIT.h
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2011-05-06 22:06:22 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2011-05-06 22:06:22 +0000
commitab6bd20da9cc02661dde52675d0f0b25ae70236a (patch)
tree3c1d8a5a0a08c964e24e998bdf6aa651acfc631f /llvm/lib/ExecutionEngine/JIT/JIT.h
parentfed7f0b3a0bda0f649be3c8ce16565f3ca063274 (diff)
downloadbcm5719-llvm-ab6bd20da9cc02661dde52675d0f0b25ae70236a.tar.gz
bcm5719-llvm-ab6bd20da9cc02661dde52675d0f0b25ae70236a.zip
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. llvm-svn: 131026
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JIT.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.h b/llvm/lib/ExecutionEngine/JIT/JIT.h
index bcf638b8d9b..b879fc36e59 100644
--- a/llvm/lib/ExecutionEngine/JIT/JIT.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud