mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-25 12:00:51 +01:00
RegisterAllocationPass: Resolve sign comparison mismatch in CalculateNodeInterference()
GetSSACount() returns a size_t, rather than a signed value.
This commit is contained in:
1 parent
8ef0278338
commit
cdab71e612
1 file changed
+1
-1
@@ -904,7 +904,7 @@ namespace {
|
||||
}
|
||||
|
||||
BucketList<32, uint32_t> Active;
|
||||
for (int OpNodeId = 0; OpNodeId < IR->GetSSACount(); OpNodeId++) {
|
||||
for (size_t OpNodeId = 0; OpNodeId < IR->GetSSACount(); OpNodeId++) {
|
||||
// Expire end intervals first
|
||||
SpanEnd[OpNodeId].Iterate([&](uint32_t EdgeInfo) {
|
||||
Active.Erase(InfoIDClass(EdgeInfo));
|
||||
|
||||
Reference in new issue
Block a user