summaryrefslogtreecommitdiffstats
path: root/llvm/examples/ParallelJIT/ParallelJIT.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/examples/ParallelJIT/ParallelJIT.cpp')
-rw-r--r--llvm/examples/ParallelJIT/ParallelJIT.cpp3
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;
OpenPOWER on IntegriCloud