comparison graal/GraalCompiler/src/com/sun/c1x/ir/CheckCast.java @ 2851:14708c03abba

Remove isNonNull
author Gilles Duboscq <gilles.duboscq@oracle.com>
date Tue, 07 Jun 2011 11:36:32 +0200
parents bd17ac598c6e
children
comparison
equal deleted inserted replaced
2850:7474789a8120 2851:14708c03abba
44 * @param stateBefore the state before the cast 44 * @param stateBefore the state before the cast
45 * @param graph 45 * @param graph
46 */ 46 */
47 public CheckCast(RiType targetClass, Value targetClassInstruction, Value object, Graph graph) { 47 public CheckCast(RiType targetClass, Value targetClassInstruction, Value object, Graph graph) {
48 super(targetClass, targetClassInstruction, object, CiKind.Object, INPUT_COUNT, SUCCESSOR_COUNT, graph); 48 super(targetClass, targetClassInstruction, object, CiKind.Object, INPUT_COUNT, SUCCESSOR_COUNT, graph);
49 setNonNull(true);
50 } 49 }
51 50
52 /** 51 /**
53 * Gets the declared type of the result of this instruction. 52 * Gets the declared type of the result of this instruction.
54 * @return the declared type of the result 53 * @return the declared type of the result
97 } 96 }
98 97
99 @Override 98 @Override
100 public Node copy(Graph into) { 99 public Node copy(Graph into) {
101 CheckCast x = new CheckCast(targetClass, null, null, into); 100 CheckCast x = new CheckCast(targetClass, null, null, into);
102 x.setNonNull(isNonNull());
103 return x; 101 return x;
104 } 102 }
105 } 103 }