# HG changeset patch # User Christos Kotselidis # Date 1367170415 -7200 # Node ID 8c21cec0301b42183e7a0161449049316c941572 # Parent 95447e46ac86512ff4e9f6f477dc6d7c0a66ca50 Remove duplicate write list diff -r 95447e46ac86 -r 8c21cec0301b graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/WriteBarrierVerificationPhase.java --- 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 processedWrites = new LinkedList<>(); for (Node node : graph.getNodes()) { - if (isObjectWrite(node) && !processedWrites.contains(node)) { + if (isObjectWrite(node)) { validateWrite(node); - processedWrites.add(node); } } }