comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/G1PostWriteBarrier.java @ 17450:45b45f902bed

removed Node generation (GRAAL-857)
author Doug Simon <doug.simon@oracle.com>
date Wed, 15 Oct 2014 15:35:33 +0200
parents c9bb0da795d4
children f57d86eb036f
comparison
equal deleted inserted replaced
17449:cca154b1bf91 17450:45b45f902bed
30 public class G1PostWriteBarrier extends WriteBarrier { 30 public class G1PostWriteBarrier extends WriteBarrier {
31 31
32 protected final boolean alwaysNull; 32 protected final boolean alwaysNull;
33 33
34 public static G1PostWriteBarrier create(ValueNode object, ValueNode value, LocationNode location, boolean precise, boolean alwaysNull) { 34 public static G1PostWriteBarrier create(ValueNode object, ValueNode value, LocationNode location, boolean precise, boolean alwaysNull) {
35 return USE_GENERATED_NODES ? new G1PostWriteBarrierGen(object, value, location, precise, alwaysNull) : new G1PostWriteBarrier(object, value, location, precise, alwaysNull); 35 return new G1PostWriteBarrier(object, value, location, precise, alwaysNull);
36 } 36 }
37 37
38 protected G1PostWriteBarrier(ValueNode object, ValueNode value, LocationNode location, boolean precise, boolean alwaysNull) { 38 protected G1PostWriteBarrier(ValueNode object, ValueNode value, LocationNode location, boolean precise, boolean alwaysNull) {
39 super(object, value, location, precise); 39 super(object, value, location, precise);
40 this.alwaysNull = alwaysNull; 40 this.alwaysNull = alwaysNull;