Mercurial > hg > truffle
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/MonitorCounterNode.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 |
---|---|
35 /** | 35 /** |
36 * Node that is used to maintain a stack based counter of how many locks are currently held. | 36 * Node that is used to maintain a stack based counter of how many locks are currently held. |
37 */ | 37 */ |
38 @NodeInfo | 38 @NodeInfo |
39 public final class MonitorCounterNode extends FloatingNode implements LIRLowerable { | 39 public final class MonitorCounterNode extends FloatingNode implements LIRLowerable { |
40 public static final NodeClass TYPE = NodeClass.get(MonitorCounterNode.class); | 40 public static final NodeClass<MonitorCounterNode> TYPE = NodeClass.get(MonitorCounterNode.class); |
41 | 41 |
42 public MonitorCounterNode() { | 42 public MonitorCounterNode() { |
43 super(TYPE, null); | 43 super(TYPE, null); |
44 } | 44 } |
45 | 45 |