Mercurial > hg > truffle
comparison graal/com.oracle.max.criutils/src/com/oracle/max/criutils/TypeCheckHints.java @ 5547:b6617d13ea44
Dropping Ci* prefixes. Some additional renamings in the api.code interface.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 09 Jun 2012 20:10:05 +0200 |
parents | b4c406861c33 |
children |
comparison
equal
deleted
inserted
replaced
5546:e42c0df7212a | 5547:b6617d13ea44 |
---|---|
56 * @param assumptions the object in which speculations are recorded. This is null if speculations are not supported. | 56 * @param assumptions the object in which speculations are recorded. This is null if speculations are not supported. |
57 * @param minHintHitProbability if the probability that the type check will hit one the profiled types (up to | 57 * @param minHintHitProbability if the probability that the type check will hit one the profiled types (up to |
58 * {@code maxHints}) is below this value, then {@link #types} will be null | 58 * {@code maxHints}) is below this value, then {@link #types} will be null |
59 * @param maxHints the maximum length of {@link #types} | 59 * @param maxHints the maximum length of {@link #types} |
60 */ | 60 */ |
61 public TypeCheckHints(ResolvedJavaType type, JavaTypeProfile profile, CiAssumptions assumptions, double minHintHitProbability, int maxHints) { | 61 public TypeCheckHints(ResolvedJavaType type, JavaTypeProfile profile, Assumptions assumptions, double minHintHitProbability, int maxHints) { |
62 if (type != null && isFinalClass(type)) { | 62 if (type != null && isFinalClass(type)) { |
63 types = new ResolvedJavaType[] {type}; | 63 types = new ResolvedJavaType[] {type}; |
64 exact = true; | 64 exact = true; |
65 } else { | 65 } else { |
66 ResolvedJavaType uniqueSubtype = type == null ? null : type.uniqueConcreteSubtype(); | 66 ResolvedJavaType uniqueSubtype = type == null ? null : type.uniqueConcreteSubtype(); |