# HG changeset patch # User Lukas Stadler # Date 1335518203 -7200 # Node ID 474ae8316c5ab8cdf720c222d318459a7643e016 # Parent be1a8ff480db4820d2bd6c23d8329264cb453abb set exactType only if object is known to be non-null diff -r be1a8ff480db -r 474ae8316c5a graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/type/StampFactory.java --- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/type/StampFactory.java Fri Apr 27 11:16:17 2012 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/type/StampFactory.java Fri Apr 27 11:16:43 2012 +0200 @@ -232,7 +232,7 @@ public static Stamp declared(final RiResolvedType type) { assert type != null; assert type.kind(false) == CiKind.Object; - return new BasicValueStamp(CiKind.Object, false, type, type.exactType()); + return new BasicValueStamp(CiKind.Object, false, type, null); } public static Stamp declaredNonNull(final RiResolvedType type) {