Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ValuePhiNode.java @ 19471:880717e44675
Use typed NodeClass in node constructors.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Wed, 18 Feb 2015 12:12:26 +0100 |
parents | 61d3cb8e1280 |
children | 8fc336a04d77 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ValuePhiNode.java Wed Feb 18 12:10:04 2015 +0100 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ValuePhiNode.java Wed Feb 18 12:12:26 2015 +0100 @@ -40,7 +40,7 @@ this(TYPE, stamp, merge); } - protected ValuePhiNode(NodeClass<?> c, Stamp stamp, AbstractMergeNode merge) { + protected ValuePhiNode(NodeClass<? extends ValuePhiNode> c, Stamp stamp, AbstractMergeNode merge) { super(c, stamp, merge); assert stamp != StampFactory.forVoid(); values = new NodeInputList<>(this);