mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
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:
parent
7a32af7a57
commit
9ac6ef6494
7 changed files with 46 additions and 192 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue