diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-15 23:31:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-15 23:31:57 +0000 |
commit | 95f114c5a9c5ced8b63034e75ccca8d2d61c956a (patch) | |
tree | 5c53c50d6476b55529331da637fc3d8901c6505e /projects | |
parent | 7c45d7898bdfdc29a61a58b678e13ed41333ed51 (diff) | |
download | external_llvm-95f114c5a9c5ced8b63034e75ccca8d2d61c956a.zip external_llvm-95f114c5a9c5ced8b63034e75ccca8d2d61c956a.tar.gz external_llvm-95f114c5a9c5ced8b63034e75ccca8d2d61c956a.tar.bz2 |
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
Diffstat (limited to 'projects')
-rw-r--r-- | projects/HowToUseJIT/HowToUseJIT.cpp | 2 | ||||
-rw-r--r-- | projects/SmallExamples/HowToUseJIT/HowToUseJIT.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/projects/HowToUseJIT/HowToUseJIT.cpp b/projects/HowToUseJIT/HowToUseJIT.cpp index e9100cf..889b34a 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 e9100cf..889b34a 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; |