mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
DSPJitRegCache: Make FindFreeReg() a const member function
This member function doesn't modify class state.
This commit is contained in:
parent
d8dd7b9e66
commit
6cfa9fda6b
@ -923,7 +923,7 @@ void DSPJitRegCache::SpillXReg(X64Reg reg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
X64Reg DSPJitRegCache::FindFreeXReg()
|
X64Reg DSPJitRegCache::FindFreeXReg() const
|
||||||
{
|
{
|
||||||
for (X64Reg x : s_allocation_order)
|
for (X64Reg x : s_allocation_order)
|
||||||
{
|
{
|
||||||
|
@ -160,7 +160,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Find a free host reg
|
// Find a free host reg
|
||||||
Gen::X64Reg FindFreeXReg();
|
Gen::X64Reg FindFreeXReg() const;
|
||||||
Gen::X64Reg SpillXReg();
|
Gen::X64Reg SpillXReg();
|
||||||
Gen::X64Reg FindSpillFreeXReg();
|
Gen::X64Reg FindSpillFreeXReg();
|
||||||
void SpillXReg(Gen::X64Reg reg);
|
void SpillXReg(Gen::X64Reg reg);
|
||||||
|
Loading…
Reference in New Issue
Block a user