diff options
author | Eric Christopher <echristo@gmail.com> | 2014-09-02 22:28:02 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-09-02 22:28:02 +0000 |
commit | 79cc1e3ae7bc224fa948495ba2f1c02f4c0c84ea (patch) | |
tree | b7044eef1251f66d6308e6868b0430ac6a8a7297 /llvm/examples/HowToUseJIT | |
parent | 981602a84c5e16871d23b946c8334cd830aceed2 (diff) | |
download | bcm5719-llvm-79cc1e3ae7bc224fa948495ba2f1c02f4c0c84ea.tar.gz bcm5719-llvm-79cc1e3ae7bc224fa948495ba2f1c02f4c0c84ea.zip |
Reinstate "Nuke the old JIT."
Approved by Jim Grosbach, Lang Hames, Rafael Espindola.
This reinstates commits r215111, 215115, 215116, 215117, 215136.
llvm-svn: 216982
Diffstat (limited to 'llvm/examples/HowToUseJIT')
-rw-r--r-- | llvm/examples/HowToUseJIT/CMakeLists.txt | 1 | ||||
-rw-r--r-- | llvm/examples/HowToUseJIT/HowToUseJIT.cpp | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/llvm/examples/HowToUseJIT/CMakeLists.txt b/llvm/examples/HowToUseJIT/CMakeLists.txt index 237cbea861d..a344ad07ca6 100644 --- a/llvm/examples/HowToUseJIT/CMakeLists.txt +++ b/llvm/examples/HowToUseJIT/CMakeLists.txt @@ -2,7 +2,6 @@ set(LLVM_LINK_COMPONENTS Core ExecutionEngine Interpreter - JIT MC Support nativecodegen diff --git a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp index 4474bfec9c9..95522409a8d 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" @@ -127,7 +126,6 @@ int main() { // Import result of execution: outs() << "Result: " << gv.IntVal << "\n"; - EE->freeMachineCodeForFunction(FooF); delete EE; llvm_shutdown(); return 0; |