SPU: cleanup former OOM handling

Remove cpu_flag::jit_return.
It's obsolete now, and worked only in SPU ASMJIT anyway.
This commit is contained in:
Nekotekina 2019-10-25 17:20:39 +03:00
parent 7a32af7a57
commit 9ac6ef6494
7 changed files with 46 additions and 192 deletions

View file

@ -45,11 +45,11 @@ void spu_recompiler::init()
}
}
spu_function_t spu_recompiler::compile(u64 last_reset_count, const std::vector<u32>& func, void* fn_location)
spu_function_t spu_recompiler::compile(const std::vector<u32>& func, void* fn_location)
{
if (!fn_location)
{
fn_location = m_spurt->find(last_reset_count, func);
fn_location = m_spurt->find(func);
}
if (fn_location == spu_runtime::g_dispatcher)
@ -892,7 +892,7 @@ spu_function_t spu_recompiler::compile(u64 last_reset_count, const std::vector<u
LOG_FATAL(SPU, "Failed to build a function");
}
if (!m_spurt->add(last_reset_count, fn_location, fn))
if (!m_spurt->add(fn_location, fn))
{
return nullptr;
}