llvm.org GIT mirror llvm / 95f114c
Switch to using the JIT now that it can directly call zeroarg functions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15795 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 15 years ago
3 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
9393
9494 // Now we create the JIT.
9595 ExistingModuleProvider* MP = new ExistingModuleProvider(M);
96 ExecutionEngine* EE = ExecutionEngine::create(MP, true);
96 ExecutionEngine* EE = ExecutionEngine::create(MP, false);
9797
9898 std::cout << "We just constructed this LLVM module:\n\n" << *M;
9999 std::cout << "\n\nRunning foo: " << std::flush;
9393
9494 // Now we create the JIT.
9595 ExistingModuleProvider* MP = new ExistingModuleProvider(M);
96 ExecutionEngine* EE = ExecutionEngine::create(MP, true);
96 ExecutionEngine* EE = ExecutionEngine::create(MP, false);
9797
9898 std::cout << "We just constructed this LLVM module:\n\n" << *M;
9999 std::cout << "\n\nRunning foo: " << std::flush;
9393
9494 // Now we create the JIT.
9595 ExistingModuleProvider* MP = new ExistingModuleProvider(M);
96 ExecutionEngine* EE = ExecutionEngine::create(MP, true);
96 ExecutionEngine* EE = ExecutionEngine::create(MP, false);
9797
9898 std::cout << "We just constructed this LLVM module:\n\n" << *M;
9999 std::cout << "\n\nRunning foo: " << std::flush;