Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirArgument.java @ 5538:e18ba36bfebc
Renamed RiConstant => Constant.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 08 Jun 2012 23:41:02 +0200 |
parents | dc71b06d09f8 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirArgument.java Fri Jun 08 23:35:16 2012 +0200 +++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirArgument.java Fri Jun 08 23:41:02 2012 +0200 @@ -26,14 +26,14 @@ /** * Represents an argument to an {@link XirSnippet}. - * Currently, this is a <i>union </i> type; it is either a {@link RiConstant} or an {@code Object}. + * Currently, this is a <i>union </i> type; it is either a {@link Constant} or an {@code Object}. */ public final class XirArgument { - public final RiConstant constant; + public final Constant constant; public final Object object; - private XirArgument(RiConstant value) { + private XirArgument(Constant value) { this.constant = value; this.object = null; } @@ -48,15 +48,15 @@ } public static XirArgument forInt(int x) { - return new XirArgument(RiConstant.forInt(x)); + return new XirArgument(Constant.forInt(x)); } public static XirArgument forLong(long x) { - return new XirArgument(RiConstant.forLong(x)); + return new XirArgument(Constant.forLong(x)); } public static XirArgument forObject(Object o) { - return new XirArgument(RiConstant.forObject(o)); + return new XirArgument(Constant.forObject(o)); } @Override