comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/CStringNode.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 * Converts a compile-time constant Java string into a C string installed with the generated code. 33 * Converts a compile-time constant Java string into a C string installed with the generated code.
34 */ 34 */
35 @NodeInfo 35 @NodeInfo
36 public final class CStringNode extends FloatingNode implements LIRLowerable { 36 public final class CStringNode extends FloatingNode implements LIRLowerable {
37 37
38 public static final NodeClass TYPE = NodeClass.get(CStringNode.class); 38 public static final NodeClass<CStringNode> TYPE = NodeClass.get(CStringNode.class);
39 protected final String string; 39 protected final String string;
40 40
41 public CStringNode(String string) { 41 public CStringNode(String string) {
42 super(TYPE, null); 42 super(TYPE, null);
43 this.string = string; 43 this.string = string;