llvm.org GIT mirror llvm / 3a813dc
r94686 changed all ModuleProvider parameters to Modules, which made the 1-argument ExecutionEngine::create(Module*) ambiguous with the signature that used to be ExecutionEngine::create(ModuleProvider*, defaulted_params). Fixed by removing the 1-argument create(). Fixes PR6221. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95236 91177308-0d34-0410-b5e6-96231b3b80d8 Jeffrey Yasskin 10 years ago
2 changed file(s) with 0 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
156156 // default freeMachineCodeForFunction works.
157157 bool GVsWithCode = true);
158158
159 /// create - This is the factory method for creating an execution engine which
160 /// is appropriate for the current machine. This takes ownership of the
161 /// module.
162 static ExecutionEngine *create(Module *M);
163
164159 /// createJIT - This is the factory method for creating a JIT for the current
165160 /// machine, it does not fall back to the interpreter. This takes ownership
166161 /// of the Module and JITMemoryManager if successful.
384384 .setOptLevel(OptLevel)
385385 .setAllocateGVsWithCode(GVsWithCode)
386386 .create();
387 }
388
389 ExecutionEngine *ExecutionEngine::create(Module *M) {
390 return EngineBuilder(M).create();
391387 }
392388
393389 ExecutionEngine *EngineBuilder::create() {