Mercurial > hg > truffle
diff graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirArgument.java @ 5501:d89b20486d87
Renaming CiConstant => RiConstant.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 07 Jun 2012 17:07:05 +0200 |
parents | aaac4894175c |
children | 13aee5aba8cc |
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirArgument.java Thu Jun 07 17:06:29 2012 +0200 +++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirArgument.java Thu Jun 07 17:07:05 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 CiConstant} or an {@code Object}. + * Currently, this is a <i>union </i> type; it is either a {@link RiConstant} or an {@code Object}. */ public final class XirArgument { - public final CiConstant constant; + public final RiConstant constant; public final Object object; - private XirArgument(CiConstant value) { + private XirArgument(RiConstant value) { this.constant = value; this.object = null; } @@ -48,15 +48,15 @@ } public static XirArgument forInt(int x) { - return new XirArgument(CiConstant.forInt(x)); + return new XirArgument(RiConstant.forInt(x)); } public static XirArgument forLong(long x) { - return new XirArgument(CiConstant.forLong(x)); + return new XirArgument(RiConstant.forLong(x)); } public static XirArgument forObject(Object o) { - return new XirArgument(CiConstant.forObject(o)); + return new XirArgument(RiConstant.forObject(o)); } @Override