Mercurial > hg > graal-compiler
changeset 9402:8c21cec0301b
Remove duplicate write list
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Sun, 28 Apr 2013 19:33:35 +0200 |
parents | 95447e46ac86 |
children | ca4d71edadcd |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/WriteBarrierVerificationPhase.java |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/WriteBarrierVerificationPhase.java Thu Apr 25 17:55:01 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/WriteBarrierVerificationPhase.java Sun Apr 28 19:33:35 2013 +0200 @@ -48,11 +48,9 @@ } private static void processWrites(StructuredGraph graph) { - List<Node> processedWrites = new LinkedList<>(); for (Node node : graph.getNodes()) { - if (isObjectWrite(node) && !processedWrites.contains(node)) { + if (isObjectWrite(node)) { validateWrite(node); - processedWrites.add(node); } } }