Core: Fix bug in CX86RegInfo::FreeX86Reg where x86RegIndex_Size was introduced
This commit is contained in:
parent
a5c6f25ee3
commit
7d55fdca37
|
@ -475,7 +475,7 @@ CX86Ops::CX86Ops::x86Reg CX86RegInfo::FreeX86Reg()
|
|||
}
|
||||
for (int i = 0; i < x86RegIndex_Size; i++)
|
||||
{
|
||||
for (int32_t z = 0; z < 9; z++)
|
||||
for (int32_t z = 0; z < x86RegIndex_Size - 1; z++)
|
||||
{
|
||||
if (MapCount[z] < MapCount[z + 1])
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue