# HG changeset patch # User Lukas Stadler # Date 1405600115 -7200 # Node ID c9d3d0964adb35ce7418f1ba3f9464ccca97c1d6 # Parent f4c7b92a592f7d66225095a49be9b2eb7ea62362 proper generic types for CanonicalizerPhase.applyIncremental diff -r f4c7b92a592f -r c9d3d0964adb graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/CanonicalizerPhase.java --- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/CanonicalizerPhase.java Thu Jul 17 14:27:57 2014 +0200 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/CanonicalizerPhase.java Thu Jul 17 14:28:35 2014 +0200 @@ -88,19 +88,19 @@ * @param workingSet the initial working set of nodes on which the canonicalizer works, should * be an auto-grow node bitmap */ - public void applyIncremental(StructuredGraph graph, PhaseContext context, Iterable workingSet) { + public void applyIncremental(StructuredGraph graph, PhaseContext context, Iterable workingSet) { applyIncremental(graph, context, workingSet, true); } - public void applyIncremental(StructuredGraph graph, PhaseContext context, Iterable workingSet, boolean dumpGraph) { + public void applyIncremental(StructuredGraph graph, PhaseContext context, Iterable workingSet, boolean dumpGraph) { new Instance(context, canonicalizeReads, workingSet, customCanonicalizer).apply(graph, dumpGraph); } - public void applyIncremental(StructuredGraph graph, PhaseContext context, Iterable workingSet, Mark newNodesMark) { + public void applyIncremental(StructuredGraph graph, PhaseContext context, Iterable workingSet, Mark newNodesMark) { applyIncremental(graph, context, workingSet, newNodesMark, true); } - public void applyIncremental(StructuredGraph graph, PhaseContext context, Iterable workingSet, Mark newNodesMark, boolean dumpGraph) { + public void applyIncremental(StructuredGraph graph, PhaseContext context, Iterable workingSet, Mark newNodesMark, boolean dumpGraph) { new Instance(context, canonicalizeReads, workingSet, newNodesMark, customCanonicalizer).apply(graph, dumpGraph); } @@ -109,7 +109,7 @@ private final Mark newNodesMark; private final PhaseContext context; private final CustomCanonicalizer customCanonicalizer; - private final Iterable initWorkingSet; + private final Iterable initWorkingSet; private final boolean canonicalizeReads; private NodeWorkList workList; @@ -119,7 +119,7 @@ this(context, canonicalizeReads, null, null, customCanonicalizer); } - private Instance(PhaseContext context, boolean canonicalizeReads, Iterable workingSet, CustomCanonicalizer customCanonicalizer) { + private Instance(PhaseContext context, boolean canonicalizeReads, Iterable workingSet, CustomCanonicalizer customCanonicalizer) { this(context, canonicalizeReads, workingSet, null, customCanonicalizer); } @@ -127,7 +127,7 @@ this(context, canonicalizeReads, null, newNodesMark, customCanonicalizer); } - private Instance(PhaseContext context, boolean canonicalizeReads, Iterable workingSet, Mark newNodesMark, CustomCanonicalizer customCanonicalizer) { + private Instance(PhaseContext context, boolean canonicalizeReads, Iterable workingSet, Mark newNodesMark, CustomCanonicalizer customCanonicalizer) { super("Canonicalizer"); this.newNodesMark = newNodesMark; this.context = context;