Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/IntegerDivNode.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 | 353669a84287 |
comparison
equal
deleted
inserted
replaced
19525:35481bcb5882 | 19526:8fc336a04d77 |
---|---|
32 import com.oracle.graal.nodes.*; | 32 import com.oracle.graal.nodes.*; |
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 IntegerDivNode extends FixedBinaryNode implements Lowerable, LIRLowerable { | 36 public final class IntegerDivNode extends FixedBinaryNode implements Lowerable, LIRLowerable { |
37 public static final NodeClass<IntegerDivNode> TYPE = NodeClass.get(IntegerDivNode.class); | 37 public static final NodeClass<IntegerDivNode> TYPE = NodeClass.create(IntegerDivNode.class); |
38 | 38 |
39 public IntegerDivNode(ValueNode x, ValueNode y) { | 39 public IntegerDivNode(ValueNode x, ValueNode y) { |
40 super(TYPE, IntegerStamp.OPS.getDiv().foldStamp(x.stamp(), y.stamp()), x, y); | 40 super(TYPE, IntegerStamp.OPS.getDiv().foldStamp(x.stamp(), y.stamp()), x, y); |
41 } | 41 } |
42 | 42 |