comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/G1PostWriteBarrier.java @ 19410:61d3cb8e1280

Add generic parameter to NodeClass. Change Graph#getNodes(Class) to Graph#getNodes(NodeClass).
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 16 Feb 2015 17:47:43 +0100
parents 7e2c87dae93e
children 880717e44675
comparison
equal deleted inserted replaced
19409:a16f1bbe2965 19410:61d3cb8e1280
28 import com.oracle.graal.nodes.extended.*; 28 import com.oracle.graal.nodes.extended.*;
29 29
30 @NodeInfo 30 @NodeInfo
31 public class G1PostWriteBarrier extends WriteBarrier { 31 public class G1PostWriteBarrier extends WriteBarrier {
32 32
33 public static final NodeClass TYPE = NodeClass.get(G1PostWriteBarrier.class); 33 public static final NodeClass<G1PostWriteBarrier> TYPE = NodeClass.get(G1PostWriteBarrier.class);
34 protected final boolean alwaysNull; 34 protected final boolean alwaysNull;
35 35
36 public G1PostWriteBarrier(ValueNode object, ValueNode value, LocationNode location, boolean precise, boolean alwaysNull) { 36 public G1PostWriteBarrier(ValueNode object, ValueNode value, LocationNode location, boolean precise, boolean alwaysNull) {
37 this(TYPE, object, value, location, precise, alwaysNull); 37 this(TYPE, object, value, location, precise, alwaysNull);
38 } 38 }
39 39
40 protected G1PostWriteBarrier(NodeClass c, ValueNode object, ValueNode value, LocationNode location, boolean precise, boolean alwaysNull) { 40 protected G1PostWriteBarrier(NodeClass<?> c, ValueNode object, ValueNode value, LocationNode location, boolean precise, boolean alwaysNull) {
41 super(c, object, value, location, precise); 41 super(c, object, value, location, precise);
42 this.alwaysNull = alwaysNull; 42 this.alwaysNull = alwaysNull;
43 } 43 }
44 44
45 public boolean alwaysNull() { 45 public boolean alwaysNull() {