Mercurial > hg > truffle
diff graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/LeftShiftNode.java @ 19403:61d3cb8e1280
Add generic parameter to NodeClass. Change Graph#getNodes(Class) to Graph#getNodes(NodeClass).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 16 Feb 2015 17:47:43 +0100 |
parents | 7e2c87dae93e |
children | 8fc336a04d77 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/LeftShiftNode.java Mon Feb 16 17:25:43 2015 +0100 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/LeftShiftNode.java Mon Feb 16 17:47:43 2015 +0100 @@ -35,7 +35,7 @@ @NodeInfo(shortName = "<<") public final class LeftShiftNode extends ShiftNode<Shl> { - public static final NodeClass TYPE = NodeClass.get(LeftShiftNode.class); + public static final NodeClass<LeftShiftNode> TYPE = NodeClass.get(LeftShiftNode.class); public LeftShiftNode(ValueNode x, ValueNode y) { super(TYPE, ArithmeticOpTable::getShl, x, y);