mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 22:30:47 -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:
@ -71,7 +71,7 @@ namespace ARMeilleure.Translation
|
||||
|
||||
public static void FindDominanceFrontiers(ControlFlowGraph cfg)
|
||||
{
|
||||
foreach (BasicBlock block in cfg.Blocks)
|
||||
for (BasicBlock block = cfg.Blocks.First; block != null; block = block.ListNext)
|
||||
{
|
||||
if (block.Predecessors.Count < 2)
|
||||
{
|
||||
|
Reference in New Issue
Block a user