diff options
author | Reid Kleckner <reid@kleckner.net> | 2009-07-18 00:42:18 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2009-07-18 00:42:18 +0000 |
commit | fc8a2d5a8390952029e1c47a623e046b744f44d4 (patch) | |
tree | 628f6fa3e2de0310edd1fed1e72a666dc19bf884 /llvm/examples/ParallelJIT/ParallelJIT.cpp | |
parent | 91ff94d6d9befda562a1384f43ecde6e43b9db99 (diff) | |
download | bcm5719-llvm-fc8a2d5a8390952029e1c47a623e046b744f44d4.tar.gz bcm5719-llvm-fc8a2d5a8390952029e1c47a623e046b744f44d4.zip |
Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create().
Also a test commit.
llvm-svn: 76276
Diffstat (limited to 'llvm/examples/ParallelJIT/ParallelJIT.cpp')
-rw-r--r-- | llvm/examples/ParallelJIT/ParallelJIT.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; |