Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/SwitchNode.java @ 19526:8fc336a04d77
Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 20 Feb 2015 22:22:55 +0100 |
parents | 880717e44675 |
children | f25111ca1225 |
comparison
equal
deleted
inserted
replaced
19525:35481bcb5882 | 19526:8fc336a04d77 |
---|---|
35 * The {@code SwitchNode} class is the base of both lookup and table switches. | 35 * The {@code SwitchNode} class is the base of both lookup and table switches. |
36 */ | 36 */ |
37 @NodeInfo | 37 @NodeInfo |
38 public abstract class SwitchNode extends ControlSplitNode { | 38 public abstract class SwitchNode extends ControlSplitNode { |
39 | 39 |
40 public static final NodeClass<SwitchNode> TYPE = NodeClass.get(SwitchNode.class); | 40 public static final NodeClass<SwitchNode> TYPE = NodeClass.create(SwitchNode.class); |
41 @Successor protected NodeSuccessorList<AbstractBeginNode> successors; | 41 @Successor protected NodeSuccessorList<AbstractBeginNode> successors; |
42 @Input protected ValueNode value; | 42 @Input protected ValueNode value; |
43 | 43 |
44 // do not change the contents of these arrays: | 44 // do not change the contents of these arrays: |
45 protected final double[] keyProbabilities; | 45 protected final double[] keyProbabilities; |