Mercurial > hg > truffle
diff graal/com.oracle.max.cri/src/com/sun/cri/ci/CiConstant.java @ 4142:bc8527f3071c
Adjust code base to new level of warnings.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 18 Dec 2011 05:24:06 +0100 |
parents | e233f5660da4 |
children | f5328dda9714 |
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/sun/cri/ci/CiConstant.java Sun Dec 18 05:23:52 2011 +0100 +++ b/graal/com.oracle.max.cri/src/com/sun/cri/ci/CiConstant.java Sun Dec 18 05:24:06 2011 +0100 @@ -29,6 +29,10 @@ */ public final class CiConstant extends CiValue { + /** + * + */ + private static final long serialVersionUID = -6355452536852663986L; private static final CiConstant[] INT_CONSTANT_CACHE = new CiConstant[100]; static { for (int i = 0; i < INT_CONSTANT_CACHE.length; ++i) { @@ -157,16 +161,6 @@ * @return the value of this constant */ public Object boxedValue() { - return boxedValue(kind); - } - - /** - * Returns the value of this constant as a boxed Java value. - * - * @param kind the kind of the boxed value to be returned - * @return the value of this constant - */ - public Object boxedValue(CiKind kind) { // Checkstyle: stop switch (kind) { case Byte: return (byte) asInt();