comparison graal/GraalCompiler/src/com/sun/c1x/ir/ResolveClass.java @ 2628:569228710be8

More FrameState work
author Gilles Duboscq <gilles.duboscq@oracle.com>
date Tue, 10 May 2011 16:49:50 +0200
parents 91d3952f7eb7
children 4dd0573f510b
comparison
equal deleted inserted replaced
2623:b129b7da1397 2628:569228710be8
22 */ 22 */
23 package com.sun.c1x.ir; 23 package com.sun.c1x.ir;
24 24
25 import com.oracle.graal.graph.*; 25 import com.oracle.graal.graph.*;
26 import com.sun.c1x.debug.*; 26 import com.sun.c1x.debug.*;
27 import com.sun.c1x.value.*;
28 import com.sun.cri.ci.*; 27 import com.sun.cri.ci.*;
29 import com.sun.cri.ri.*; 28 import com.sun.cri.ri.*;
30 29
31 /** 30 /**
32 * An instruction that represents the runtime resolution of a Java class object. For example, an 31 * An instruction that represents the runtime resolution of a Java class object. For example, an
38 private static final int SUCCESSOR_COUNT = 0; 37 private static final int SUCCESSOR_COUNT = 0;
39 38
40 public final RiType type; 39 public final RiType type;
41 public final RiType.Representation portion; 40 public final RiType.Representation portion;
42 41
43 public ResolveClass(RiType type, RiType.Representation r, FrameState stateAfter, Graph graph) { 42 public ResolveClass(RiType type, RiType.Representation r, Graph graph) {
44 super(type.getRepresentationKind(r), stateAfter, INPUT_COUNT, SUCCESSOR_COUNT, graph); 43 super(type.getRepresentationKind(r), INPUT_COUNT, SUCCESSOR_COUNT, graph);
45 this.portion = r; 44 this.portion = r;
46 this.type = type; 45 this.type = type;
47 setFlag(Flag.NonNull); 46 setFlag(Flag.NonNull);
48 } 47 }
49 48