diff graal/GraalCompiler/src/com/sun/c1x/ir/ResolveClass.java @ 2600:f1bc67c2d453

new node layout: TypeCheck, RegisterFinalizer, Invoke, NewArray, NullCheck
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 05 May 2011 16:32:20 +0200
parents c58a301eb2d7
children 91d3952f7eb7
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/ResolveClass.java	Thu May 05 16:07:00 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/ResolveClass.java	Thu May 05 16:32:20 2011 +0200
@@ -22,6 +22,7 @@
  */
 package com.sun.c1x.ir;
 
+import com.oracle.graal.graph.*;
 import com.sun.c1x.debug.*;
 import com.sun.c1x.value.*;
 import com.sun.cri.ci.*;
@@ -30,17 +31,17 @@
 /**
  * An instruction that represents the runtime resolution of a Java class object. For example, an
  * ldc of a class constant that is unresolved.
- *
- * @author Ben L. Titzer
- * @author Thomas Wuerthinger
  */
 public final class ResolveClass extends StateSplit {
 
+    private static final int INPUT_COUNT = 0;
+    private static final int SUCCESSOR_COUNT = 0;
+
     public final RiType type;
     public final RiType.Representation portion;
 
-    public ResolveClass(RiType type, RiType.Representation r, FrameState stateBefore) {
-        super(type.getRepresentationKind(r), stateBefore);
+    public ResolveClass(RiType type, RiType.Representation r, FrameState stateBefore, Graph graph) {
+        super(type.getRepresentationKind(r), stateBefore, INPUT_COUNT, SUCCESSOR_COUNT, graph);
         this.portion = r;
         this.type = type;
         setFlag(Flag.NonNull);