Mercurial > hg > truffle
changeset 5314:474ae8316c5a
set exactType only if object is known to be non-null
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 27 Apr 2012 11:16:43 +0200 |
parents | be1a8ff480db |
children | 8ab14908fb3c 158a230b4331 |
files | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/type/StampFactory.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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) {