comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/KillingBeginNode.java @ 19403:61d3cb8e1280

Add generic parameter to NodeClass. Change Graph#getNodes(Class) to Graph#getNodes(NodeClass).
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 16 Feb 2015 17:47:43 +0100
parents 7e2c87dae93e
children 8fc336a04d77
comparison
equal deleted inserted replaced
19402:a16f1bbe2965 19403:61d3cb8e1280
28 import com.oracle.graal.nodes.extended.*; 28 import com.oracle.graal.nodes.extended.*;
29 29
30 @NodeInfo(allowedUsageTypes = {InputType.Memory}) 30 @NodeInfo(allowedUsageTypes = {InputType.Memory})
31 public final class KillingBeginNode extends AbstractBeginNode implements MemoryCheckpoint.Single { 31 public final class KillingBeginNode extends AbstractBeginNode implements MemoryCheckpoint.Single {
32 32
33 public static final NodeClass TYPE = NodeClass.get(KillingBeginNode.class); 33 public static final NodeClass<KillingBeginNode> TYPE = NodeClass.get(KillingBeginNode.class);
34 protected LocationIdentity locationIdentity; 34 protected LocationIdentity locationIdentity;
35 35
36 public KillingBeginNode(LocationIdentity locationIdentity) { 36 public KillingBeginNode(LocationIdentity locationIdentity) {
37 super(TYPE); 37 super(TYPE);
38 this.locationIdentity = locationIdentity; 38 this.locationIdentity = locationIdentity;