comparison graal/GraalCompiler/src/com/sun/c1x/ir/CheckCast.java @ 2821:015be60afcf3

removed flags from Value class
author Lukas Stadler <lukas.stadler@jku.at>
date Mon, 30 May 2011 17:05:06 +0200
parents c3f64b66fc78
children bd17ac598c6e
comparison
equal deleted inserted replaced
2820:2b8ef0a06391 2821:015be60afcf3
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 initFlag(Flag.NonNull, object.isNonNull()); 49 setNonNull(true);
50 } 50 }
51 51
52 /** 52 /**
53 * Gets the declared type of the result of this instruction. 53 * Gets the declared type of the result of this instruction.
54 * @return the declared type of the result 54 * @return the declared type of the result