Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/ir/NullCheck.java @ 2851:14708c03abba
Remove isNonNull
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 07 Jun 2011 11:36:32 +0200 |
parents | c1c8a0291771 |
children |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/NullCheck.java Tue Jun 07 11:19:01 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/NullCheck.java Tue Jun 07 11:36:32 2011 +0200 @@ -68,14 +68,12 @@ */ public NullCheck(Value object, Graph graph) { super(object.kind, INPUT_COUNT, SUCCESSOR_COUNT, graph); - setNonNull(true); setObject(object); } // for copying private NullCheck(CiKind kind, Graph graph) { super(kind, INPUT_COUNT, SUCCESSOR_COUNT, graph); - setNonNull(true); } @Override @@ -117,7 +115,6 @@ @Override public Node copy(Graph into) { NullCheck x = new NullCheck(kind, into); - x.setNonNull(isNonNull()); return x; } }