comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/BinaryNode.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 880717e44675
children f7c6b33489c9
comparison
equal deleted inserted replaced
19525:35481bcb5882 19526:8fc336a04d77
32 * The {@code BinaryNode} class is the base of arithmetic and logic operations with two inputs. 32 * The {@code BinaryNode} class is the base of arithmetic and logic operations with two inputs.
33 */ 33 */
34 @NodeInfo 34 @NodeInfo
35 public abstract class BinaryNode extends FloatingNode implements Canonicalizable.Binary<ValueNode> { 35 public abstract class BinaryNode extends FloatingNode implements Canonicalizable.Binary<ValueNode> {
36 36
37 public static final NodeClass<BinaryNode> TYPE = NodeClass.get(BinaryNode.class); 37 public static final NodeClass<BinaryNode> TYPE = NodeClass.create(BinaryNode.class);
38 @Input protected ValueNode x; 38 @Input protected ValueNode x;
39 @Input protected ValueNode y; 39 @Input protected ValueNode y;
40 40
41 public ValueNode getX() { 41 public ValueNode getX() {
42 return x; 42 return x;