From fc8a2d5a8390952029e1c47a623e046b744f44d4 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Sat, 18 Jul 2009 00:42:18 +0000 Subject: Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create(). Also a test commit. llvm-svn: 76276 --- llvm/examples/ParallelJIT/ParallelJIT.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/examples/ParallelJIT/ParallelJIT.cpp') diff --git a/llvm/examples/ParallelJIT/ParallelJIT.cpp b/llvm/examples/ParallelJIT/ParallelJIT.cpp index d82a6be81db..464bd22e8ff 100644 --- a/llvm/examples/ParallelJIT/ParallelJIT.cpp +++ b/llvm/examples/ParallelJIT/ParallelJIT.cpp @@ -242,8 +242,7 @@ int main() { Function* fibF = CreateFibFunction( M ); // Now we create the JIT. - ExistingModuleProvider* MP = new ExistingModuleProvider(M); - ExecutionEngine* EE = ExecutionEngine::create(MP, false); + ExecutionEngine* EE = EngineBuilder(M).create(); //~ std::cout << "We just constructed this LLVM module:\n\n" << *M; //~ std::cout << "\n\nRunning foo: " << std::flush; -- cgit v1.2.3