Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/CiXirAssembler.java @ 5501:d89b20486d87
Renaming CiConstant => RiConstant.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 07 Jun 2012 17:07:05 +0200 |
parents | 678f31e9724e |
children | 438ab53efdd0 |
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/CiXirAssembler.java Thu Jun 07 17:06:29 2012 +0200 +++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/CiXirAssembler.java Thu Jun 07 17:07:05 2012 +0200 @@ -224,9 +224,9 @@ } public static class XirConstant extends XirOperand implements XirConstantOperand { - public final CiConstant value; + public final RiConstant value; - XirConstant(CiXirAssembler asm, CiConstant value) { + XirConstant(CiXirAssembler asm, RiConstant value) { super(asm, value, value.kind); this.value = value; } @@ -820,7 +820,7 @@ return new XirConstantParameter(this, name, kind); } - public XirConstant createConstant(CiConstant constant) { + public XirConstant createConstant(RiConstant constant) { assert !finished; XirConstant temp = new XirConstant(this, constant); constants.add(temp); @@ -868,19 +868,19 @@ } public XirConstant i(int v) { - return createConstant(CiConstant.forInt(v)); + return createConstant(RiConstant.forInt(v)); } public XirConstant l(long v) { - return createConstant(CiConstant.forLong(v)); + return createConstant(RiConstant.forLong(v)); } public XirConstant b(boolean v) { - return createConstant(CiConstant.forBoolean(v)); + return createConstant(RiConstant.forBoolean(v)); } public XirConstant o(Object obj) { - return createConstant(CiConstant.forObject(obj)); + return createConstant(RiConstant.forObject(obj)); } public void reserveOutgoingStack(int size) {