summaryrefslogtreecommitdiffstats
path: root/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-09-02 22:28:02 +0000
committerEric Christopher <echristo@gmail.com>2014-09-02 22:28:02 +0000
commit79cc1e3ae7bc224fa948495ba2f1c02f4c0c84ea (patch)
treeb7044eef1251f66d6308e6868b0430ac6a8a7297 /llvm/examples/ExceptionDemo/ExceptionDemo.cpp
parent981602a84c5e16871d23b946c8334cd830aceed2 (diff)
downloadbcm5719-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/ExceptionDemo/ExceptionDemo.cpp')
-rw-r--r--llvm/examples/ExceptionDemo/ExceptionDemo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
index 21d290e4356..e5e2c923d73 100644
--- a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
+++ b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
@@ -1966,10 +1966,8 @@ int main(int argc, char *argv[]) {
// Build engine with JIT
llvm::EngineBuilder factory(std::move(Owner));
factory.setEngineKind(llvm::EngineKind::JIT);
- factory.setAllocateGVsWithCode(false);
factory.setTargetOptions(Opts);
factory.setMCJITMemoryManager(MemMgr);
- factory.setUseMCJIT(true);
llvm::ExecutionEngine *executionEngine = factory.create();
{
OpenPOWER on IntegriCloud