Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/ir/Value.java @ 2851:14708c03abba
Remove isNonNull
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 07 Jun 2011 11:36:32 +0200 |
parents | bfce42cd9c07 |
children |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/Value.java Tue Jun 07 11:19:01 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/Value.java Tue Jun 07 11:36:32 2011 +0200 @@ -41,8 +41,6 @@ */ public final CiKind kind; - private boolean isNonNull; - protected CiValue operand = CiValue.IllegalValue; /** @@ -67,18 +65,6 @@ } /** - * Checks whether this instruction produces a value which is guaranteed to be non-null. - * @return {@code true} if this instruction's value is not null - */ - public boolean isNonNull() { - return isNonNull; - } - - public void setNonNull(boolean isNonNull) { - this.isNonNull = isNonNull; - } - - /** * Checks whether this value is a constant (i.e. it is of type {@link Constant}. * @return {@code true} if this value is a constant */ @@ -177,9 +163,6 @@ public String flagsToString() { StringBuilder sb = new StringBuilder(); - if (isNonNull()) { - sb.append("NonNull"); - } return sb.toString(); } @@ -219,7 +202,6 @@ public Map<Object, Object> getDebugProperties() { Map<Object, Object> properties = super.getDebugProperties(); properties.put("kind", kind.toString()); - properties.put("nonNull", isNonNull); properties.put("operand", operand == null ? "null" : operand.toString()); return properties; }