mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-08 07:32:32 -07:00
Migrate Collection Expressions
This commit is contained in:
@@ -574,7 +574,7 @@ namespace ARMeilleure.CodeGen.RegisterAllocators
|
||||
|
||||
private void InsertSplitCopies()
|
||||
{
|
||||
Dictionary<int, CopyResolver> copyResolvers = new();
|
||||
Dictionary<int, CopyResolver> copyResolvers = [];
|
||||
|
||||
CopyResolver GetCopyResolver(int position)
|
||||
{
|
||||
@@ -799,8 +799,8 @@ namespace ARMeilleure.CodeGen.RegisterAllocators
|
||||
|
||||
private void NumberLocals(ControlFlowGraph cfg, int registersCount)
|
||||
{
|
||||
_operationNodes = new List<(IntrusiveList<Operation>, Operation)>();
|
||||
_intervals = new List<LiveInterval>();
|
||||
_operationNodes = [];
|
||||
_intervals = [];
|
||||
|
||||
for (int index = 0; index < registersCount; index++)
|
||||
{
|
||||
@@ -980,7 +980,7 @@ namespace ARMeilleure.CodeGen.RegisterAllocators
|
||||
|
||||
_blockLiveIn = blkLiveIn;
|
||||
|
||||
_blockEdges = new HashSet<int>();
|
||||
_blockEdges = [];
|
||||
|
||||
// Compute lifetime intervals.
|
||||
int operationPos = _operationsCount;
|
||||
|
Reference in New Issue
Block a user