Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/StoreIndexedNode.java @ 18845:f57d86eb036f
removed Node factory methods
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 12 Jan 2015 20:39:04 +0100 |
parents | ca81508f2a19 |
children | 9f85ac52d521 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/StoreIndexedNode.java Mon Jan 12 19:05:36 2015 +0100 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/StoreIndexedNode.java Mon Jan 12 20:39:04 2015 +0100 @@ -56,19 +56,7 @@ return value; } - /** - * Creates a new StoreIndexedNode. - * - * @param array the node producing the array - * @param index the node producing the index - * @param elementKind the element type - * @param value the value to store into the array - */ - public static StoreIndexedNode create(ValueNode array, ValueNode index, Kind elementKind, ValueNode value) { - return new StoreIndexedNode(array, index, elementKind, value); - } - - protected StoreIndexedNode(ValueNode array, ValueNode index, Kind elementKind, ValueNode value) { + public StoreIndexedNode(ValueNode array, ValueNode index, Kind elementKind, ValueNode value) { super(StampFactory.forVoid(), array, index, elementKind); this.value = value; }