comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/CheckCastNode.java @ 16897:f90dcdbbb75e

switched to using new NodeFieldIterator and NodeFieldIterable for traversing Node inputs and successors changed Node fields to be protected or package-private (they can no longer be private) generate isLeafNode() and isOptionalInput()
author Doug Simon <doug.simon@oracle.com>
date Fri, 22 Aug 2014 15:56:51 +0200
parents 06c15e88d383
children 0fe4732e5181
comparison
equal deleted inserted replaced
16896:6872ea9cb853 16897:f90dcdbbb75e
41 * Implements a type check against a compile-time known type. 41 * Implements a type check against a compile-time known type.
42 */ 42 */
43 @NodeInfo 43 @NodeInfo
44 public class CheckCastNode extends FixedWithNextNode implements Canonicalizable, Simplifiable, Lowerable, Virtualizable, ValueProxy { 44 public class CheckCastNode extends FixedWithNextNode implements Canonicalizable, Simplifiable, Lowerable, Virtualizable, ValueProxy {
45 45
46 @Input private ValueNode object; 46 @Input ValueNode object;
47 private final ResolvedJavaType type; 47 private final ResolvedJavaType type;
48 private final JavaTypeProfile profile; 48 private final JavaTypeProfile profile;
49 49
50 /** 50 /**
51 * Determines the exception thrown by this node if the check fails: {@link ClassCastException} 51 * Determines the exception thrown by this node if the check fails: {@link ClassCastException}