From f8b27c41e84cefba4be361b96cc0bd545e1dc64d Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 7 Aug 2014 14:21:18 +0000 Subject: Nuke the old JIT. I am sure we will be finding bits and pieces of dead code for years to come, but this is a good start. Thanks to Lang Hames for making MCJIT a good replacement! llvm-svn: 215111 --- llvm/examples/HowToUseJIT/HowToUseJIT.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/examples/HowToUseJIT/HowToUseJIT.cpp') diff --git a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp index 7125a156104..906b066ca45 100644 --- a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp +++ b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp @@ -36,7 +36,6 @@ #include "llvm/ExecutionEngine/GenericValue.h" #include "llvm/ExecutionEngine/Interpreter.h" -#include "llvm/ExecutionEngine/JIT.h" #include "llvm/IR/Constants.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/IRBuilder.h" @@ -126,7 +125,6 @@ int main() { // Import result of execution: outs() << "Result: " << gv.IntVal << "\n"; - EE->freeMachineCodeForFunction(FooF); delete EE; llvm_shutdown(); return 0; -- cgit v1.2.3