# HG changeset patch # User Christos Kotselidis # Date 1365501319 -7200 # Node ID 8fab4f4fde34c233569a230cfe6a3df58df319af # Parent 78bf450b45b95079d00e414de7e5b00d6e56543a Make static the private calls of the WriteBarrierAdditionPhase diff -r 78bf450b45b9 -r 8fab4f4fde34 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/WriteBarrierAdditionPhase.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/WriteBarrierAdditionPhase.java Tue Apr 09 11:38:46 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/WriteBarrierAdditionPhase.java Tue Apr 09 11:55:19 2013 +0200 @@ -42,14 +42,14 @@ } } - private void addWriteNodeBarriers(WriteNode node, StructuredGraph graph) { + private static void addWriteNodeBarriers(WriteNode node, StructuredGraph graph) { if (node.needsWriteBarrier()) { graph.addAfterFixed(node, graph.add(new SerialWriteBarrier(node.object(), node.location(), node.usePreciseWriteBarriers()))); } } - private void addCASBarriers(CompareAndSwapNode node, StructuredGraph graph) { + private static void addCASBarriers(CompareAndSwapNode node, StructuredGraph graph) { if (node.needsWriteBarrier()) { LocationNode location = IndexedLocationNode.create(LocationNode.ANY_LOCATION, node.expected().kind(), node.displacement(), node.offset(), graph, 1); graph.addAfterFixed(node, graph.add(new SerialWriteBarrier(node.object(), location, node.usePreciseWriteBarriers())));