Use LLVM 4.0

This commit is contained in:
Nekotekina 2017-03-21 20:16:18 +03:00
commit 3e6f9faf71
8 changed files with 13 additions and 23 deletions

View file

@ -305,11 +305,6 @@ jit_compiler::jit_compiler(std::unordered_map<std::string, std::uintptr_t> init_
m_cpu = llvm::sys::getHostCPUName();
}
if (m_cpu == "skylake")
{
m_cpu = "haswell";
}
std::string result;
m_engine.reset(llvm::EngineBuilder(std::make_unique<llvm::Module>("", g_llvm_ctx))