Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/ResolveClass.java @ 2622:91d3952f7eb7
Framestate work : using stateAFter and reducting the number of nodes with framestates. Intermediate state (does not pass tests)
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 10 May 2011 12:37:46 +0200 |
parents | f1bc67c2d453 |
children | 569228710be8 |
comparison
equal
deleted
inserted
replaced
2621:dd115f80acf8 | 2622:91d3952f7eb7 |
---|---|
38 private static final int SUCCESSOR_COUNT = 0; | 38 private static final int SUCCESSOR_COUNT = 0; |
39 | 39 |
40 public final RiType type; | 40 public final RiType type; |
41 public final RiType.Representation portion; | 41 public final RiType.Representation portion; |
42 | 42 |
43 public ResolveClass(RiType type, RiType.Representation r, FrameState stateBefore, Graph graph) { | 43 public ResolveClass(RiType type, RiType.Representation r, FrameState stateAfter, Graph graph) { |
44 super(type.getRepresentationKind(r), stateBefore, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 44 super(type.getRepresentationKind(r), stateAfter, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
45 this.portion = r; | 45 this.portion = r; |
46 this.type = type; | 46 this.type = type; |
47 setFlag(Flag.NonNull); | 47 setFlag(Flag.NonNull); |
48 } | 48 } |
49 | 49 |