comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PhiNode.java @ 18845:f57d86eb036f

removed Node factory methods
author Doug Simon <doug.simon@oracle.com>
date Mon, 12 Jan 2015 20:39:04 +0100
parents 7bb1abca2c0d
children be2351580c7d
comparison
equal deleted inserted replaced
18843:f2261069ba99 18845:f57d86eb036f
141 } 141 }
142 142
143 @NodeInfo 143 @NodeInfo
144 static class MultipleValuesNode extends ValueNode { 144 static class MultipleValuesNode extends ValueNode {
145 145
146 public static MultipleValuesNode create() { 146 public MultipleValuesNode() {
147 return new MultipleValuesNode();
148 }
149
150 protected MultipleValuesNode() {
151 super(null); 147 super(null);
152 } 148 }
153 149
154 } 150 }
155 151
156 public static final ValueNode MULTIPLE_VALUES = MultipleValuesNode.create(); 152 public static final ValueNode MULTIPLE_VALUES = new MultipleValuesNode();
157 153
158 /** 154 /**
159 * If all inputs are the same value, this value is returned, otherwise {@link #MULTIPLE_VALUES}. 155 * If all inputs are the same value, this value is returned, otherwise {@link #MULTIPLE_VALUES}.
160 * Note that {@code null} is a valid return value, since {@link GuardPhiNode}s can have 156 * Note that {@code null} is a valid return value, since {@link GuardPhiNode}s can have
161 * {@code null} inputs. 157 * {@code null} inputs.