Fix #4005 regression

Delay unregister EH frames (Linux)
This commit is contained in:
Nekotekina 2018-01-01 10:40:57 +03:00
parent 383c501a35
commit 198e9dce1d
2 changed files with 29 additions and 3 deletions

View file

@ -1181,7 +1181,7 @@ extern void ppu_initialize(const ppu_module& info)
// Initialize compiler instance
if (!jit)
{
jit = fxm::get_always<jit_compiler>(s_link_table, g_cfg.core.llvm_cpu);
jit = std::make_shared<jit_compiler>(s_link_table, g_cfg.core.llvm_cpu);
}
// First function in current module part