CPU/Recompiler: Fix typo in UninhibitAllocation function name

This commit is contained in:
Connor McLaughlin 2020-10-26 22:00:10 +10:00
parent cbc7e3d64a
commit 76428887b8
6 changed files with 10 additions and 10 deletions

View file

@ -1745,7 +1745,7 @@ bool CodeGenerator::Compile_Divide(const CodeBlockInstruction& cbi)
EmitBindLabel(&done); EmitBindLabel(&done);
m_register_cache.UnunhibitAllocation(); m_register_cache.UninhibitAllocation();
m_register_cache.WriteGuestRegister(Reg::lo, std::move(lo)); m_register_cache.WriteGuestRegister(Reg::lo, std::move(lo));
m_register_cache.WriteGuestRegister(Reg::hi, std::move(hi)); m_register_cache.WriteGuestRegister(Reg::hi, std::move(hi));
} }
@ -1827,7 +1827,7 @@ bool CodeGenerator::Compile_SignedDivide(const CodeBlockInstruction& cbi)
EmitBindLabel(&done); EmitBindLabel(&done);
m_register_cache.UnunhibitAllocation(); m_register_cache.UninhibitAllocation();
m_register_cache.WriteGuestRegister(Reg::lo, std::move(lo)); m_register_cache.WriteGuestRegister(Reg::lo, std::move(lo));
m_register_cache.WriteGuestRegister(Reg::hi, std::move(hi)); m_register_cache.WriteGuestRegister(Reg::hi, std::move(hi));
} }

View file

@ -1371,7 +1371,7 @@ void CodeGenerator::EmitLoadGuestMemoryFastmem(const CodeBlockInstruction& cbi,
EmitBranch(GetCurrentNearCodePointer(), false); EmitBranch(GetCurrentNearCodePointer(), false);
SwitchToNearCode(); SwitchToNearCode();
m_register_cache.UnunhibitAllocation(); m_register_cache.UninhibitAllocation();
m_block->loadstore_backpatch_info.push_back(bpi); m_block->loadstore_backpatch_info.push_back(bpi);
} }
@ -1508,7 +1508,7 @@ void CodeGenerator::EmitStoreGuestMemoryFastmem(const CodeBlockInstruction& cbi,
EmitBranch(GetCurrentNearCodePointer(), false); EmitBranch(GetCurrentNearCodePointer(), false);
SwitchToNearCode(); SwitchToNearCode();
m_register_cache.UnunhibitAllocation(); m_register_cache.UninhibitAllocation();
m_block->loadstore_backpatch_info.push_back(bpi); m_block->loadstore_backpatch_info.push_back(bpi);
} }

View file

@ -184,7 +184,7 @@ void CodeGenerator::EmitICacheCheckAndUpdate()
} }
EmitBindLabel(&ready_to_execute); EmitBindLabel(&ready_to_execute);
m_register_cache.UnunhibitAllocation(); m_register_cache.UninhibitAllocation();
} }
#endif #endif

View file

@ -1897,7 +1897,7 @@ void CodeGenerator::EmitLoadGuestMemoryFastmem(const CodeBlockInstruction& cbi,
m_emit->jmp(GetCurrentNearCodePointer()); m_emit->jmp(GetCurrentNearCodePointer());
SwitchToNearCode(); SwitchToNearCode();
m_register_cache.UnunhibitAllocation(); m_register_cache.UninhibitAllocation();
m_block->loadstore_backpatch_info.push_back(bpi); m_block->loadstore_backpatch_info.push_back(bpi);
} }
@ -2111,7 +2111,7 @@ void CodeGenerator::EmitStoreGuestMemoryFastmem(const CodeBlockInstruction& cbi,
m_emit->jmp(GetCurrentNearCodePointer()); m_emit->jmp(GetCurrentNearCodePointer());
SwitchToNearCode(); SwitchToNearCode();
m_register_cache.UnunhibitAllocation(); m_register_cache.UninhibitAllocation();
m_block->loadstore_backpatch_info.push_back(bpi); m_block->loadstore_backpatch_info.push_back(bpi);
} }
@ -2507,7 +2507,7 @@ void CodeGenerator::EmitICacheCheckAndUpdate()
} }
m_emit->L(done); m_emit->L(done);
m_register_cache.UnunhibitAllocation(); m_register_cache.UninhibitAllocation();
} }
void CodeGenerator::EmitBranch(const void* address, bool allow_scratch) void CodeGenerator::EmitBranch(const void* address, bool allow_scratch)

View file

@ -907,7 +907,7 @@ void RegisterCache::InhibitAllocation()
m_state.allocator_inhibit_count++; m_state.allocator_inhibit_count++;
} }
void RegisterCache::UnunhibitAllocation() void RegisterCache::UninhibitAllocation()
{ {
Assert(m_state.allocator_inhibit_count > 0); Assert(m_state.allocator_inhibit_count > 0);
m_state.allocator_inhibit_count--; m_state.allocator_inhibit_count--;

View file

@ -331,7 +331,7 @@ public:
/// Temporarily prevents register allocation. /// Temporarily prevents register allocation.
void InhibitAllocation(); void InhibitAllocation();
void UnunhibitAllocation(); void UninhibitAllocation();
private: private:
void ClearRegisterFromOrder(Reg reg); void ClearRegisterFromOrder(Reg reg);