Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/type/StampFactory.java @ 5518:62952fa9e7aa
UnsafeCast node is nonNull if it casts a non-null object
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 08 Jun 2012 11:52:37 +0200 |
parents | 141817e206d4 |
children | e05bb6f6c58b |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/type/StampFactory.java Thu Jun 07 21:13:41 2012 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/type/StampFactory.java Fri Jun 08 11:52:37 2012 +0200 @@ -145,7 +145,7 @@ return declared(type, true); } - private static Stamp declared(RiResolvedType type, boolean nonNull) { + public static Stamp declared(RiResolvedType type, boolean nonNull) { assert type != null; assert type.kind(false) == CiKind.Object; RiResolvedType exact = type.exactType();