mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Merge pull request #6581 from lioncash/const
DSPJitRegCache: Make FindFreeReg() a const member function
This commit is contained in:
commit
621e1758fb
@ -923,7 +923,7 @@ void DSPJitRegCache::SpillXReg(X64Reg reg)
|
||||
}
|
||||
}
|
||||
|
||||
X64Reg DSPJitRegCache::FindFreeXReg()
|
||||
X64Reg DSPJitRegCache::FindFreeXReg() const
|
||||
{
|
||||
for (X64Reg x : s_allocation_order)
|
||||
{
|
||||
|
@ -160,7 +160,7 @@ private:
|
||||
};
|
||||
|
||||
// Find a free host reg
|
||||
Gen::X64Reg FindFreeXReg();
|
||||
Gen::X64Reg FindFreeXReg() const;
|
||||
Gen::X64Reg SpillXReg();
|
||||
Gen::X64Reg FindSpillFreeXReg();
|
||||
void SpillXReg(Gen::X64Reg reg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user