Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/NewInstance.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 | f9f40748442f |
children | bd17ac598c6e |
comparison
equal
deleted
inserted
replaced
2820:2b8ef0a06391 | 2821:015be60afcf3 |
---|---|
49 public NewInstance(RiType type, int cpi, RiConstantPool constantPool, Graph graph) { | 49 public NewInstance(RiType type, int cpi, RiConstantPool constantPool, Graph graph) { |
50 super(CiKind.Object, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 50 super(CiKind.Object, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
51 this.instanceClass = type; | 51 this.instanceClass = type; |
52 this.cpi = cpi; | 52 this.cpi = cpi; |
53 this.constantPool = constantPool; | 53 this.constantPool = constantPool; |
54 setFlag(Flag.NonNull); | 54 setNonNull(true); |
55 } | 55 } |
56 | 56 |
57 /** | 57 /** |
58 * Gets the instance class being allocated by this instruction. | 58 * Gets the instance class being allocated by this instruction. |
59 * @return the instance class allocated | 59 * @return the instance class allocated |