mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01: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:
1 parent
e9a37ca6a8
commit
e5f78fb1d4
18 files changed
+365
-198
No files matched your search
@@ -35,7 +35,7 @@ namespace ARMeilleure.Diagnostics
|
||||
|
||||
IncreaseIndentation();
|
||||
|
||||
foreach (BasicBlock block in cfg.Blocks)
|
||||
for (BasicBlock block = cfg.Blocks.First; block != null; block = block.ListNext)
|
||||
{
|
||||
string blockName = GetBlockName(block);
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace ARMeilleure.Diagnostics
|
||||
|
||||
IncreaseIndentation();
|
||||
|
||||
foreach (Node node in block.Operations)
|
||||
for (Node node = block.Operations.First; node != null; node = node.ListNext)
|
||||
{
|
||||
string[] sources = new string[node.SourcesCount];
|
||||
|
||||
|
||||
Reference in new issue
Block a user