mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 07:10:48 -07:00
Replace LinkedList by IntrusiveList to avoid allocations on JIT (#931)
* Replace LinkedList by IntrusiveList to avoid allocations on JIT * Fix wrong replacements
This commit is contained in:
@ -25,9 +25,9 @@ namespace ARMeilleure.Translation
|
||||
return local;
|
||||
}
|
||||
|
||||
foreach (BasicBlock block in cfg.Blocks)
|
||||
for (BasicBlock block = cfg.Blocks.First; block != null; block = block.ListNext)
|
||||
{
|
||||
foreach (Node node in block.Operations)
|
||||
for (Node node = block.Operations.First; node != null; node = node.ListNext)
|
||||
{
|
||||
Operand dest = node.Destination;
|
||||
|
||||
|
Reference in New Issue
Block a user