Mercurial > hg > graal-compiler
changeset 18384:02e3feaaada1
replace identity map with hash map
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sun, 16 Nov 2014 16:15:11 +0100 |
parents | 1518c3296cc8 |
children | df47f69cda83 |
files | graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/FloatingReadPhase.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);