comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/UnaryArithmeticNode.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
comparison
equal deleted inserted replaced
19525:35481bcb5882 19526:8fc336a04d77
34 import com.oracle.graal.nodes.spi.*; 34 import com.oracle.graal.nodes.spi.*;
35 35
36 @NodeInfo 36 @NodeInfo
37 public abstract class UnaryArithmeticNode<OP> extends UnaryNode implements ArithmeticLIRLowerable { 37 public abstract class UnaryArithmeticNode<OP> extends UnaryNode implements ArithmeticLIRLowerable {
38 38
39 @SuppressWarnings("rawtypes") public static final NodeClass<UnaryArithmeticNode> TYPE = NodeClass.get(UnaryArithmeticNode.class); 39 @SuppressWarnings("rawtypes") public static final NodeClass<UnaryArithmeticNode> TYPE = NodeClass.create(UnaryArithmeticNode.class);
40 40
41 protected interface SerializableUnaryFunction<T> extends Function<ArithmeticOpTable, UnaryOp<T>>, Serializable { 41 protected interface SerializableUnaryFunction<T> extends Function<ArithmeticOpTable, UnaryOp<T>>, Serializable {
42 } 42 }
43 43
44 protected final SerializableUnaryFunction<OP> getOp; 44 protected final SerializableUnaryFunction<OP> getOp;