mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-27 17:07:10 +02: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:
parent
6e37487103
commit
cf3ec817a4
18 changed files with 365 additions and 198 deletions
|
@ -11,13 +11,13 @@ namespace ARMeilleure.IntermediateRepresentation
|
|||
|
||||
public ulong Value { get; private set; }
|
||||
|
||||
public LinkedList<Node> Assignments { get; }
|
||||
public LinkedList<Node> Uses { get; }
|
||||
public List<Node> Assignments { get; }
|
||||
public List<Node> Uses { get; }
|
||||
|
||||
private Operand()
|
||||
{
|
||||
Assignments = new LinkedList<Node>();
|
||||
Uses = new LinkedList<Node>();
|
||||
Assignments = new List<Node>();
|
||||
Uses = new List<Node>();
|
||||
}
|
||||
|
||||
public Operand(OperandKind kind, OperandType type = OperandType.None) : this()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue