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:
gdkchan authored and GitHub committed 2020-02-17 22:30:54 +01:00
1 parent e9a37ca6a8
commit e5f78fb1d4
18 files changed
+365 -198

No files matched your search

+2 -2
View File
@@ -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];