src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/calc/BinaryArithmeticNode.java
equal
deleted
inserted
replaced
55 |
55 |
56 @SuppressWarnings("rawtypes") public static final NodeClass<BinaryArithmeticNode> TYPE = NodeClass.create(BinaryArithmeticNode.class); |
56 @SuppressWarnings("rawtypes") public static final NodeClass<BinaryArithmeticNode> TYPE = NodeClass.create(BinaryArithmeticNode.class); |
57 |
57 |
58 protected BinaryArithmeticNode(NodeClass<? extends BinaryArithmeticNode<OP>> c, BinaryOp<OP> opForStampComputation, ValueNode x, ValueNode y) { |
58 protected BinaryArithmeticNode(NodeClass<? extends BinaryArithmeticNode<OP>> c, BinaryOp<OP> opForStampComputation, ValueNode x, ValueNode y) { |
59 super(c, opForStampComputation.foldStamp(x.stamp(NodeView.DEFAULT), y.stamp(NodeView.DEFAULT)), x, y); |
59 super(c, opForStampComputation.foldStamp(x.stamp(NodeView.DEFAULT), y.stamp(NodeView.DEFAULT)), x, y); |
|
60 } |
|
61 |
|
62 protected BinaryArithmeticNode(NodeClass<? extends BinaryArithmeticNode<OP>> c, Stamp stamp, ValueNode x, ValueNode y) { |
|
63 super(c, stamp, x, y); |
60 } |
64 } |
61 |
65 |
62 public static ArithmeticOpTable getArithmeticOpTable(ValueNode forValue) { |
66 public static ArithmeticOpTable getArithmeticOpTable(ValueNode forValue) { |
63 return ArithmeticOpTable.forStamp(forValue.stamp(NodeView.DEFAULT)); |
67 return ArithmeticOpTable.forStamp(forValue.stamp(NodeView.DEFAULT)); |
64 } |
68 } |