Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/UnsignedRightShiftNode.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 |
---|---|
33 import com.oracle.graal.nodes.spi.*; | 33 import com.oracle.graal.nodes.spi.*; |
34 | 34 |
35 @NodeInfo(shortName = ">>>") | 35 @NodeInfo(shortName = ">>>") |
36 public final class UnsignedRightShiftNode extends ShiftNode<UShr> { | 36 public final class UnsignedRightShiftNode extends ShiftNode<UShr> { |
37 | 37 |
38 public static final NodeClass TYPE = NodeClass.get(UnsignedRightShiftNode.class); | 38 public static final NodeClass<UnsignedRightShiftNode> TYPE = NodeClass.get(UnsignedRightShiftNode.class); |
39 | 39 |
40 public UnsignedRightShiftNode(ValueNode x, ValueNode y) { | 40 public UnsignedRightShiftNode(ValueNode x, ValueNode y) { |
41 super(TYPE, ArithmeticOpTable::getUShr, x, y); | 41 super(TYPE, ArithmeticOpTable::getUShr, x, y); |
42 } | 42 } |
43 | 43 |