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:
@ -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()
|
||||
|
Reference in New Issue
Block a user