comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/CurrentLockNode.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
34 /** 34 /**
35 * Intrinsic for getting the lock in the current {@linkplain BeginLockScopeNode lock scope}. 35 * Intrinsic for getting the lock in the current {@linkplain BeginLockScopeNode lock scope}.
36 */ 36 */
37 @NodeInfo 37 @NodeInfo
38 public final class CurrentLockNode extends FixedWithNextNode implements LIRLowerable { 38 public final class CurrentLockNode extends FixedWithNextNode implements LIRLowerable {
39 public static final NodeClass TYPE = NodeClass.get(CurrentLockNode.class); 39 public static final NodeClass<CurrentLockNode> TYPE = NodeClass.get(CurrentLockNode.class);
40 40
41 protected int lockDepth; 41 protected int lockDepth;
42 42
43 public CurrentLockNode(int lockDepth) { 43 public CurrentLockNode(int lockDepth) {
44 super(TYPE, null); 44 super(TYPE, null);