Mercurial > hg > graal-compiler
comparison graal/com.oracle.max.cri/src/com/sun/cri/ci/CiVirtualObject.java @ 4169:f5328dda9714
Initial commit of SSA-based spill-all register assignment
author | Christian Wimmer <Christian.Wimmer@Oracle.com> |
---|---|
date | Wed, 28 Dec 2011 18:13:25 -0800 |
parents | bc8527f3071c |
children | de7b3e7ae528 |
comparison
equal
deleted
inserted
replaced
4168:0bc4815d2069 | 4169:f5328dda9714 |
---|---|
27 /** | 27 /** |
28 * An instance of this class represents an object whose allocation was removed by escape analysis. The information stored in the {@link CiVirtualObject} is used during | 28 * An instance of this class represents an object whose allocation was removed by escape analysis. The information stored in the {@link CiVirtualObject} is used during |
29 * deoptimization to recreate the object. | 29 * deoptimization to recreate the object. |
30 */ | 30 */ |
31 public final class CiVirtualObject extends CiValue { | 31 public final class CiVirtualObject extends CiValue { |
32 private static final long serialVersionUID = -2907197776426346021L; | |
32 | 33 |
33 /** | |
34 * | |
35 */ | |
36 private static final long serialVersionUID = -2907197776426346021L; | |
37 private final RiType type; | 34 private final RiType type; |
38 private CiValue[] values; | 35 private CiValue[] values; |
39 private final int id; | 36 private final int id; |
40 | 37 |
41 /** | 38 /** |
56 this.values = values; | 53 this.values = values; |
57 this.id = id; | 54 this.id = id; |
58 } | 55 } |
59 | 56 |
60 @Override | 57 @Override |
61 public String name() { | 58 public String toString() { |
62 return "vobject"; | 59 return "vobject:" + id; |
63 } | 60 } |
64 | 61 |
65 /** | 62 /** |
66 * @return the type of the object whose allocation was removed during compilation. This can be either an instance of an array type. | 63 * @return the type of the object whose allocation was removed during compilation. This can be either an instance of an array type. |
67 */ | 64 */ |