Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
19402:a16f1bbe2965 | 19403:61d3cb8e1280 |
---|---|
33 import com.oracle.graal.nodes.spi.*; | 33 import com.oracle.graal.nodes.spi.*; |
34 | 34 |
35 @NodeInfo(shortName = "<<") | 35 @NodeInfo(shortName = "<<") |
36 public final class LeftShiftNode extends ShiftNode<Shl> { | 36 public final class LeftShiftNode extends ShiftNode<Shl> { |
37 | 37 |
38 public static final NodeClass TYPE = NodeClass.get(LeftShiftNode.class); | 38 public static final NodeClass<LeftShiftNode> TYPE = NodeClass.get(LeftShiftNode.class); |
39 | 39 |
40 public LeftShiftNode(ValueNode x, ValueNode y) { | 40 public LeftShiftNode(ValueNode x, ValueNode y) { |
41 super(TYPE, ArithmeticOpTable::getShl, x, y); | 41 super(TYPE, ArithmeticOpTable::getShl, x, y); |
42 } | 42 } |
43 | 43 |