Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/MetaAccessProvider.java @ 5538:e18ba36bfebc
Renamed RiConstant => Constant.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 08 Jun 2012 23:41:02 +0200 |
parents | e624cded7986 |
children | a891c53a295b |
line wrap: on
line diff
--- a/graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/MetaAccessProvider.java Fri Jun 08 23:35:16 2012 +0200 +++ b/graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/MetaAccessProvider.java Fri Jun 08 23:41:02 2012 +0200 @@ -38,7 +38,7 @@ * * @return {@code null} if {@code constant.isNull() || !constant.kind.isObject()} */ - RiResolvedType getTypeOf(RiConstant constant); + RiResolvedType getTypeOf(Constant constant); RiResolvedType getType(Class<?> clazz); @@ -48,7 +48,7 @@ * * @return true if the two parameters represent the same runtime object, false otherwise */ - boolean areConstantObjectsEqual(RiConstant x, RiConstant y); + boolean areConstantObjectsEqual(Constant x, Constant y); /** * Provides the {@link RiMethod} for a {@link Method} obtained via reflection. @@ -58,5 +58,5 @@ /** * Gets the length of the array that is wrapped in a CiConstant object. */ - int getArrayLength(RiConstant array); + int getArrayLength(Constant array); }