ExecutionEngine: push TargetMachine creation into clients
[oota-llvm.git] / lib / ExecutionEngine / JIT / JIT.h
index bcf638b8d9b13402e1e284d9def5e01899ed763b..b879fc36e59bc177f0457fc670d6d07965101cd2 100644 (file)
@@ -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);