Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/CheckCastNode.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 | 2fd45bb25118 |
comparison
equal
deleted
inserted
replaced
19525:35481bcb5882 | 19526:8fc336a04d77 |
---|---|
42 * Implements a type check against a compile-time known type. | 42 * Implements a type check against a compile-time known type. |
43 */ | 43 */ |
44 @NodeInfo | 44 @NodeInfo |
45 public final class CheckCastNode extends FixedWithNextNode implements Canonicalizable, Simplifiable, Lowerable, Virtualizable, ValueProxy { | 45 public final class CheckCastNode extends FixedWithNextNode implements Canonicalizable, Simplifiable, Lowerable, Virtualizable, ValueProxy { |
46 | 46 |
47 public static final NodeClass<CheckCastNode> TYPE = NodeClass.get(CheckCastNode.class); | 47 public static final NodeClass<CheckCastNode> TYPE = NodeClass.create(CheckCastNode.class); |
48 @Input protected ValueNode object; | 48 @Input protected ValueNode object; |
49 protected final ResolvedJavaType type; | 49 protected final ResolvedJavaType type; |
50 protected final JavaTypeProfile profile; | 50 protected final JavaTypeProfile profile; |
51 | 51 |
52 /** | 52 /** |