# HG changeset patch # User Lukas Stadler # Date 1361895516 -3600 # Node ID ace410a10aca84585003d3230457fca8a82c004e # Parent 886990f21773d576fc925dc73456487bdcfd7370 fix for ObjectCloneNode diff -r 886990f21773 -r ace410a10aca graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/ObjectCloneNode.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/ObjectCloneNode.java Tue Feb 26 17:04:17 2013 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/ObjectCloneNode.java Tue Feb 26 17:18:36 2013 +0100 @@ -86,7 +86,7 @@ } private static ResolvedJavaType getConcreteType(ObjectStamp stamp, Assumptions assumptions) { - if (stamp.isExactType()) { + if (stamp.isExactType() || stamp.type() == null) { return stamp.type(); } else { ResolvedJavaType type = stamp.type().findUniqueConcreteSubtype();