summaryrefslogtreecommitdiff
path: root/examples/HowToUseJIT
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-04-06 20:57:34 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-04-06 20:57:34 +0000
commit5ce1b11412d19c95e390a43d850829c99694f5a9 (patch)
tree485f44c9f9fa37234b86cbf73ad38c1d5a9d13d2 /examples/HowToUseJIT
parente2a466bfa9e4f43c90602da5f602c16c2c83c866 (diff)
downloadllvm-5ce1b11412d19c95e390a43d850829c99694f5a9.tar.gz
llvm-5ce1b11412d19c95e390a43d850829c99694f5a9.tar.bz2
llvm-5ce1b11412d19c95e390a43d850829c99694f5a9.tar.xz
revert r68457, its crashing in make check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/HowToUseJIT')
-rw-r--r--examples/HowToUseJIT/HowToUseJIT.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/HowToUseJIT/HowToUseJIT.cpp b/examples/HowToUseJIT/HowToUseJIT.cpp
index b5c6d11191..0482df6248 100644
--- a/examples/HowToUseJIT/HowToUseJIT.cpp
+++ b/examples/HowToUseJIT/HowToUseJIT.cpp
@@ -42,7 +42,6 @@
#include "llvm/ExecutionEngine/JIT.h"
#include "llvm/ExecutionEngine/Interpreter.h"
#include "llvm/ExecutionEngine/GenericValue.h"
-#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
@@ -110,8 +109,5 @@ int main() {
// Import result of execution:
outs() << "Result: " << gv.IntVal << "\n";
- EE->freeMachineCodeForFunction(FooF);
- delete EE;
- llvm_shutdown();
return 0;
}