mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
CPU/Recompiler: Fix typo in UninhibitAllocation function name
This commit is contained in:
parent
cbc7e3d64a
commit
76428887b8
|
@ -1745,7 +1745,7 @@ bool CodeGenerator::Compile_Divide(const CodeBlockInstruction& cbi)
|
|||
|
||||
EmitBindLabel(&done);
|
||||
|
||||
m_register_cache.UnunhibitAllocation();
|
||||
m_register_cache.UninhibitAllocation();
|
||||
m_register_cache.WriteGuestRegister(Reg::lo, std::move(lo));
|
||||
m_register_cache.WriteGuestRegister(Reg::hi, std::move(hi));
|
||||
}
|
||||
|
@ -1827,7 +1827,7 @@ bool CodeGenerator::Compile_SignedDivide(const CodeBlockInstruction& cbi)
|
|||
|
||||
EmitBindLabel(&done);
|
||||
|
||||
m_register_cache.UnunhibitAllocation();
|
||||
m_register_cache.UninhibitAllocation();
|
||||
m_register_cache.WriteGuestRegister(Reg::lo, std::move(lo));
|
||||
m_register_cache.WriteGuestRegister(Reg::hi, std::move(hi));
|
||||
}
|
||||
|
|
|
@ -1371,7 +1371,7 @@ void CodeGenerator::EmitLoadGuestMemoryFastmem(const CodeBlockInstruction& cbi,
|
|||
EmitBranch(GetCurrentNearCodePointer(), false);
|
||||
|
||||
SwitchToNearCode();
|
||||
m_register_cache.UnunhibitAllocation();
|
||||
m_register_cache.UninhibitAllocation();
|
||||
|
||||
m_block->loadstore_backpatch_info.push_back(bpi);
|
||||
}
|
||||
|
@ -1508,7 +1508,7 @@ void CodeGenerator::EmitStoreGuestMemoryFastmem(const CodeBlockInstruction& cbi,
|
|||
EmitBranch(GetCurrentNearCodePointer(), false);
|
||||
|
||||
SwitchToNearCode();
|
||||
m_register_cache.UnunhibitAllocation();
|
||||
m_register_cache.UninhibitAllocation();
|
||||
|
||||
m_block->loadstore_backpatch_info.push_back(bpi);
|
||||
}
|
||||
|
|
|
@ -184,7 +184,7 @@ void CodeGenerator::EmitICacheCheckAndUpdate()
|
|||
}
|
||||
|
||||
EmitBindLabel(&ready_to_execute);
|
||||
m_register_cache.UnunhibitAllocation();
|
||||
m_register_cache.UninhibitAllocation();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1897,7 +1897,7 @@ void CodeGenerator::EmitLoadGuestMemoryFastmem(const CodeBlockInstruction& cbi,
|
|||
m_emit->jmp(GetCurrentNearCodePointer());
|
||||
|
||||
SwitchToNearCode();
|
||||
m_register_cache.UnunhibitAllocation();
|
||||
m_register_cache.UninhibitAllocation();
|
||||
|
||||
m_block->loadstore_backpatch_info.push_back(bpi);
|
||||
}
|
||||
|
@ -2111,7 +2111,7 @@ void CodeGenerator::EmitStoreGuestMemoryFastmem(const CodeBlockInstruction& cbi,
|
|||
m_emit->jmp(GetCurrentNearCodePointer());
|
||||
|
||||
SwitchToNearCode();
|
||||
m_register_cache.UnunhibitAllocation();
|
||||
m_register_cache.UninhibitAllocation();
|
||||
|
||||
m_block->loadstore_backpatch_info.push_back(bpi);
|
||||
}
|
||||
|
@ -2507,7 +2507,7 @@ void CodeGenerator::EmitICacheCheckAndUpdate()
|
|||
}
|
||||
|
||||
m_emit->L(done);
|
||||
m_register_cache.UnunhibitAllocation();
|
||||
m_register_cache.UninhibitAllocation();
|
||||
}
|
||||
|
||||
void CodeGenerator::EmitBranch(const void* address, bool allow_scratch)
|
||||
|
|
|
@ -907,7 +907,7 @@ void RegisterCache::InhibitAllocation()
|
|||
m_state.allocator_inhibit_count++;
|
||||
}
|
||||
|
||||
void RegisterCache::UnunhibitAllocation()
|
||||
void RegisterCache::UninhibitAllocation()
|
||||
{
|
||||
Assert(m_state.allocator_inhibit_count > 0);
|
||||
m_state.allocator_inhibit_count--;
|
||||
|
|
|
@ -331,7 +331,7 @@ public:
|
|||
|
||||
/// Temporarily prevents register allocation.
|
||||
void InhibitAllocation();
|
||||
void UnunhibitAllocation();
|
||||
void UninhibitAllocation();
|
||||
|
||||
private:
|
||||
void ClearRegisterFromOrder(Reg reg);
|
||||
|
|
Loading…
Reference in a new issue