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 | 30411e0973fbad1bf304bdb3c1f8492ff61a935b (patch) | |
tree | 4d1632601c4ad72dabe095c3b8f136bb1308225f | |
parent | 47380e3ba07a32353fd6bd16bd6a1cf3e1768c3a (diff) | |
download | bcm5719-llvm-30411e0973fbad1bf304bdb3c1f8492ff61a935b.tar.gz bcm5719-llvm-30411e0973fbad1bf304bdb3c1f8492ff61a935b.zip |
Switch to using the JIT now that it can directly call zeroarg functions
llvm-svn: 15795
-rw-r--r-- | llvm/projects/HowToUseJIT/HowToUseJIT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/projects/HowToUseJIT/HowToUseJIT.cpp b/llvm/projects/HowToUseJIT/HowToUseJIT.cpp index e9100cffe6b..889b34aa95c 100644 --- a/llvm/projects/HowToUseJIT/HowToUseJIT.cpp +++ b/llvm/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; |