# HG changeset patch # User Doug Simon # Date 1404209437 -7200 # Node ID e17a0f85e0af347a8f266f3def767a4ff11a0fd1 # Parent 627f255ee2988655834dde4757603d6888fe6673 made IfCanonicalizerTest clean up dead nodes it creates diff -r 627f255ee298 -r e17a0f85e0af graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/IfCanonicalizerTest.java --- a/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/IfCanonicalizerTest.java Tue Jul 01 12:05:27 2014 +0200 +++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/IfCanonicalizerTest.java Tue Jul 01 12:10:37 2014 +0200 @@ -203,6 +203,7 @@ new CanonicalizerPhase(true).apply(graph, new PhaseContext(getProviders(), new Assumptions(false))); for (FrameState fs : param.usages().filter(FrameState.class).snapshot()) { fs.replaceFirstInput(param, null); + param.safeDelete(); } StructuredGraph referenceGraph = parse(REFERENCE_SNIPPET); assertEquals(referenceGraph, graph);