Update LLVM with release_37

This commit is contained in:
Zangetsu38
2015-10-03 04:41:41 +02:00
parent 2399107fdf
commit e12fbae17c
7 changed files with 96 additions and 97 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ public:
.setOptLevel(llvm::CodeGenOpt::Aggressive)
.setMCPU("nehalem")
.create();
module_ptr->setDataLayout(execution_engine->getDataLayout());
module_ptr->setDataLayout(*execution_engine->getDataLayout());
execution_engine->finalizeObject();