# HG changeset patch # User Doug Simon # Date 1416150911 -3600 # Node ID 02e3feaaada1cce43ef360469d1eb3543e6708b2 # Parent 1518c3296cc886525f81cc39a183ac42dc996440 replace identity map with hash map diff -r 1518c3296cc8 -r 02e3feaaada1 graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/FloatingReadPhase.java --- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/FloatingReadPhase.java Sun Nov 16 09:44:04 2014 +0100 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/FloatingReadPhase.java Sun Nov 16 16:15:11 2014 +0100 @@ -162,7 +162,7 @@ if (updateExistingPhis) { for (MemoryPhiNode phi : merge.phis().filter(MemoryPhiNode.class)) { if (existingPhis == null) { - existingPhis = Context.newIdentityMap(); + existingPhis = Context.newMap(); } phi.values().clear(); existingPhis.put(phi.getLocationIdentity(), phi);