Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/NullCheckNode.java @ 16919:0fe4732e5181
made use of generated Node classes predicated on value of graal.useGeneratedNodes system property (default is false)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 25 Aug 2014 13:45:12 +0200 |
parents | f90dcdbbb75e |
children | 845e881ce054 |
comparison
equal
deleted
inserted
replaced
16918:b03a16cc5245 | 16919:0fe4732e5181 |
---|---|
31 public class NullCheckNode extends DeoptimizingFixedWithNextNode implements LIRLowerable, GuardingNode { | 31 public class NullCheckNode extends DeoptimizingFixedWithNextNode implements LIRLowerable, GuardingNode { |
32 | 32 |
33 @Input ValueNode object; | 33 @Input ValueNode object; |
34 | 34 |
35 public static NullCheckNode create(ValueNode object) { | 35 public static NullCheckNode create(ValueNode object) { |
36 return new NullCheckNodeGen(object); | 36 return USE_GENERATED_NODES ? new NullCheckNodeGen(object) : new NullCheckNode(object); |
37 } | 37 } |
38 | 38 |
39 NullCheckNode(ValueNode object) { | 39 NullCheckNode(ValueNode object) { |
40 super(StampFactory.forVoid()); | 40 super(StampFactory.forVoid()); |
41 this.object = object; | 41 this.object = object; |