comparison graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/MetaAccessProvider.java @ 6328:6e66d97a16ae

Clean up Kind class.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 07 Sep 2012 12:12:47 +0200
parents 8f9c9d372e31
children 92bc58dc5b5e
comparison
equal deleted inserted replaced
6327:be0788825ffa 6328:6e66d97a16ae
39 * @return {@code null} if {@code constant.isNull() || !constant.kind.isObject()} 39 * @return {@code null} if {@code constant.isNull() || !constant.kind.isObject()}
40 */ 40 */
41 ResolvedJavaType getTypeOf(Constant constant); 41 ResolvedJavaType getTypeOf(Constant constant);
42 42
43 43
44 /**
45 * Returns the resolved Java type representing a given Java class.
46 * @param clazz the Java class object
47 * @return the resolved Java type object
48 */
44 ResolvedJavaType getResolvedJavaType(Class<?> clazz); 49 ResolvedJavaType getResolvedJavaType(Class<?> clazz);
45 50
46 /** 51 /**
47 * Used by the canonicalizer to compare objects, since a given runtime might not want to expose the real objects to the compiler. 52 * Used by the canonicalizer to compare objects, since a given runtime might not want to expose the real objects to the compiler.
48 * 53 *