Switch to using the JIT now that it can directly call zeroarg functions
authorChris Lattner <sabre@nondot.org>
Sun, 15 Aug 2004 23:31:57 +0000 (23:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 15 Aug 2004 23:31:57 +0000 (23:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15795 91177308-0d34-0410-b5e6-96231b3b80d8

examples/HowToUseJIT/HowToUseJIT.cpp
projects/HowToUseJIT/HowToUseJIT.cpp
projects/SmallExamples/HowToUseJIT/HowToUseJIT.cpp

index e9100cffe6bbe8f7b03584cb8a9ea001b5c342c2..889b34aa95c1f5ca33eeed269f6b893334486a49 100644 (file)
@@ -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;
index e9100cffe6bbe8f7b03584cb8a9ea001b5c342c2..889b34aa95c1f5ca33eeed269f6b893334486a49 100644 (file)
@@ -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;
index e9100cffe6bbe8f7b03584cb8a9ea001b5c342c2..889b34aa95c1f5ca33eeed269f6b893334486a49 100644 (file)
@@ -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;