From 95f114c5a9c5ced8b63034e75ccca8d2d61c956a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 15 Aug 2004 23:31:57 +0000 Subject: [PATCH] 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 --- examples/HowToUseJIT/HowToUseJIT.cpp | 2 +- projects/HowToUseJIT/HowToUseJIT.cpp | 2 +- projects/SmallExamples/HowToUseJIT/HowToUseJIT.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/HowToUseJIT/HowToUseJIT.cpp b/examples/HowToUseJIT/HowToUseJIT.cpp index e9100cffe6b..889b34aa95c 100644 --- a/examples/HowToUseJIT/HowToUseJIT.cpp +++ b/examples/HowToUseJIT/HowToUseJIT.cpp @@ -94,7 +94,7 @@ int main() { // Now we create the JIT. ExistingModuleProvider* MP = new ExistingModuleProvider(M); - ExecutionEngine* EE = ExecutionEngine::create(MP, true); + ExecutionEngine* EE = ExecutionEngine::create(MP, false); std::cout << "We just constructed this LLVM module:\n\n" << *M; std::cout << "\n\nRunning foo: " << std::flush; diff --git a/projects/HowToUseJIT/HowToUseJIT.cpp b/projects/HowToUseJIT/HowToUseJIT.cpp index e9100cffe6b..889b34aa95c 100644 --- a/projects/HowToUseJIT/HowToUseJIT.cpp +++ b/projects/HowToUseJIT/HowToUseJIT.cpp @@ -94,7 +94,7 @@ int main() { // Now we create the JIT. ExistingModuleProvider* MP = new ExistingModuleProvider(M); - ExecutionEngine* EE = ExecutionEngine::create(MP, true); + ExecutionEngine* EE = ExecutionEngine::create(MP, false); std::cout << "We just constructed this LLVM module:\n\n" << *M; std::cout << "\n\nRunning foo: " << std::flush; diff --git a/projects/SmallExamples/HowToUseJIT/HowToUseJIT.cpp b/projects/SmallExamples/HowToUseJIT/HowToUseJIT.cpp index e9100cffe6b..889b34aa95c 100644 --- a/projects/SmallExamples/HowToUseJIT/HowToUseJIT.cpp +++ b/projects/SmallExamples/HowToUseJIT/HowToUseJIT.cpp @@ -94,7 +94,7 @@ int main() { // Now we create the JIT. ExistingModuleProvider* MP = new ExistingModuleProvider(M); - ExecutionEngine* EE = ExecutionEngine::create(MP, true); + ExecutionEngine* EE = ExecutionEngine::create(MP, false); std::cout << "We just constructed this LLVM module:\n\n" << *M; std::cout << "\n\nRunning foo: " << std::flush;