Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/UnaryArithmeticNode.java @ 17328:c9bb0da795d4
Backed out of changeset 17322:655f3e6b467b
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 03 Oct 2014 14:19:58 +0200 |
parents | 655f3e6b467b |
children | b3c10156d3d7 |
comparison
equal
deleted
inserted
replaced
17327:655f3e6b467b | 17328:c9bb0da795d4 |
---|---|
30 import com.oracle.graal.nodes.spi.*; | 30 import com.oracle.graal.nodes.spi.*; |
31 | 31 |
32 @NodeInfo | 32 @NodeInfo |
33 public abstract class UnaryArithmeticNode extends UnaryNode implements ArithmeticLIRLowerable { | 33 public abstract class UnaryArithmeticNode extends UnaryNode implements ArithmeticLIRLowerable { |
34 | 34 |
35 protected UnaryOp op; | 35 protected final UnaryOp op; |
36 | 36 |
37 protected UnaryArithmeticNode(UnaryOp op, ValueNode value) { | 37 protected UnaryArithmeticNode(UnaryOp op, ValueNode value) { |
38 super(op.foldStamp(value.stamp()), value); | 38 super(op.foldStamp(value.stamp()), value); |
39 this.op = op; | 39 this.op = op; |
40 } | 40 } |