Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/FullInfopointNode.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 | 45b45f902bed |
comparison
equal
deleted
inserted
replaced
16918:b03a16cc5245 | 16919:0fe4732e5181 |
---|---|
32 @NodeInfo | 32 @NodeInfo |
33 public class FullInfopointNode extends InfopointNode implements LIRLowerable, NodeWithState { | 33 public class FullInfopointNode extends InfopointNode implements LIRLowerable, NodeWithState { |
34 @Input(InputType.State) FrameState state; | 34 @Input(InputType.State) FrameState state; |
35 | 35 |
36 public static FullInfopointNode create(InfopointReason reason, FrameState state) { | 36 public static FullInfopointNode create(InfopointReason reason, FrameState state) { |
37 return new FullInfopointNodeGen(reason, state); | 37 return USE_GENERATED_NODES ? new FullInfopointNodeGen(reason, state) : new FullInfopointNode(reason, state); |
38 } | 38 } |
39 | 39 |
40 protected FullInfopointNode(InfopointReason reason, FrameState state) { | 40 protected FullInfopointNode(InfopointReason reason, FrameState state) { |
41 super(reason); | 41 super(reason); |
42 this.state = state; | 42 this.state = state; |