# HG changeset patch # User Roland Schatz # Date 1364896076 -7200 # Node ID c423a5fd8ac78268898ea41d4e6d0297dcbcde56 # Parent 19978b870b5f098b45bfa7b3488eeb31411a8075 Cull frame states before lowering. diff -r 19978b870b5f -r c423a5fd8ac7 graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java Mon Apr 01 21:47:39 2013 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java Tue Apr 02 11:47:56 2013 +0200 @@ -168,16 +168,16 @@ } new RemoveValueProxyPhase().apply(graph); + if (GraalOptions.CullFrameStates) { + new CullFrameStatesPhase().apply(graph); + } + if (GraalOptions.OptCanonicalizer) { new CanonicalizerPhase(runtime, assumptions).apply(graph); } new LoweringPhase(target, runtime, assumptions).apply(graph); - if (GraalOptions.CullFrameStates) { - new CullFrameStatesPhase().apply(graph); - } - if (GraalOptions.OptFloatingReads) { int mark = graph.getMark(); new FloatingReadPhase().apply(graph);