summaryrefslogtreecommitdiff
path: root/examples/ExceptionDemo
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
commitd5dd8ce2a5336df4e4b4cc04d23e4018d93944f9 (patch)
tree1670cbdc4a7095c2ef1f0d68cdb7ad10162b91fb /examples/ExceptionDemo
parent4437658aff84fa25563740c806a091de1395e5f4 (diff)
Reinstate "Nuke the old JIT."
Approved by Jim Grosbach, Lang Hames, Rafael Espindola. This reinstates commits r215111, 215115, 215116, 215117, 215136. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/ExceptionDemo')
-rw-r--r--examples/ExceptionDemo/ExceptionDemo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/ExceptionDemo/ExceptionDemo.cpp b/examples/ExceptionDemo/ExceptionDemo.cpp
index 21d290e4356..e5e2c923d73 100644
--- a/examples/ExceptionDemo/ExceptionDemo.cpp
+++ b/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();
{