Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/virtual/CommitAllocationNode.java @ 19526:8fc336a04d77
Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 20 Feb 2015 22:22:55 +0100 |
parents | 61d3cb8e1280 |
children |
comparison
equal
deleted
inserted
replaced
19525:35481bcb5882 | 19526:8fc336a04d77 |
---|---|
33 import com.oracle.graal.nodes.spi.*; | 33 import com.oracle.graal.nodes.spi.*; |
34 | 34 |
35 @NodeInfo(nameTemplate = "Alloc {i#virtualObjects}", allowedUsageTypes = {InputType.Extension}) | 35 @NodeInfo(nameTemplate = "Alloc {i#virtualObjects}", allowedUsageTypes = {InputType.Extension}) |
36 public final class CommitAllocationNode extends FixedWithNextNode implements VirtualizableAllocation, Lowerable, Simplifiable { | 36 public final class CommitAllocationNode extends FixedWithNextNode implements VirtualizableAllocation, Lowerable, Simplifiable { |
37 | 37 |
38 public static final NodeClass<CommitAllocationNode> TYPE = NodeClass.get(CommitAllocationNode.class); | 38 public static final NodeClass<CommitAllocationNode> TYPE = NodeClass.create(CommitAllocationNode.class); |
39 @Input NodeInputList<VirtualObjectNode> virtualObjects = new NodeInputList<>(this); | 39 @Input NodeInputList<VirtualObjectNode> virtualObjects = new NodeInputList<>(this); |
40 @Input NodeInputList<ValueNode> values = new NodeInputList<>(this); | 40 @Input NodeInputList<ValueNode> values = new NodeInputList<>(this); |
41 @Input(InputType.Association) NodeInputList<MonitorIdNode> locks = new NodeInputList<>(this); | 41 @Input(InputType.Association) NodeInputList<MonitorIdNode> locks = new NodeInputList<>(this); |
42 protected ArrayList<Integer> lockIndexes = new ArrayList<>(Arrays.asList(0)); | 42 protected ArrayList<Integer> lockIndexes = new ArrayList<>(Arrays.asList(0)); |
43 | 43 |