Mercurial > hg > truffle
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/CurrentJavaThreadNode.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 |
---|---|
38 /** | 38 /** |
39 * Gets the address of the C++ JavaThread object for the current thread. | 39 * Gets the address of the C++ JavaThread object for the current thread. |
40 */ | 40 */ |
41 @NodeInfo | 41 @NodeInfo |
42 public final class CurrentJavaThreadNode extends FloatingNode implements LIRLowerable { | 42 public final class CurrentJavaThreadNode extends FloatingNode implements LIRLowerable { |
43 public static final NodeClass TYPE = NodeClass.get(CurrentJavaThreadNode.class); | 43 public static final NodeClass<CurrentJavaThreadNode> TYPE = NodeClass.get(CurrentJavaThreadNode.class); |
44 | 44 |
45 protected LIRKind wordKind; | 45 protected LIRKind wordKind; |
46 | 46 |
47 public CurrentJavaThreadNode(Kind kind) { | 47 public CurrentJavaThreadNode(Kind kind) { |
48 super(TYPE, StampFactory.forKind(kind)); | 48 super(TYPE, StampFactory.forKind(kind)); |