diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotNodeClassSubstitutions.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
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotNodeClassSubstitutions.java	Mon Feb 16 17:25:43 2015 +0100
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotNodeClassSubstitutions.java	Mon Feb 16 17:47:43 2015 +0100
@@ -46,7 +46,7 @@
      */
     @NodeInfo
     public static final class NodeClassGetNode extends PureFunctionMacroNode {
-        public static final NodeClass TYPE = NodeClass.get(NodeClassGetNode.class);
+        public static final NodeClass<NodeClassGetNode> TYPE = NodeClass.get(NodeClassGetNode.class);
 
         public NodeClassGetNode(Invoke invoke) {
             super(TYPE, invoke);
@@ -69,5 +69,5 @@
      * initialization barrier).
      */
     @MacroSubstitution(isStatic = true, forced = true, macro = NodeClassGetNode.class)
-    public static native NodeClass get(Class<?> c);
+    public static native NodeClass<?> get(Class<?> c);
 }