comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiArrayNode.java @ 19410: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
19409:a16f1bbe2965 19410:61d3cb8e1280
36 * this information. 36 * this information.
37 */ 37 */
38 @NodeInfo 38 @NodeInfo
39 public final class PiArrayNode extends PiNode implements ArrayLengthProvider { 39 public final class PiArrayNode extends PiNode implements ArrayLengthProvider {
40 40
41 public static final NodeClass TYPE = NodeClass.get(PiArrayNode.class); 41 public static final NodeClass<PiArrayNode> TYPE = NodeClass.get(PiArrayNode.class);
42 @Input ValueNode length; 42 @Input ValueNode length;
43 43
44 public ValueNode length() { 44 public ValueNode length() {
45 return length; 45 return length;
46 } 46 }