comparison graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/ea/PEAReadEliminationTest.java @ 11437:58b72cc17109

incremental canonicalization for PartialEscapePhase / EffectsPhase
author Lukas Stadler <lukas.stadler@jku.at>
date Tue, 27 Aug 2013 10:14:06 +0200
parents 9878214a0093
children c69df2e602f4
comparison
equal deleted inserted replaced
11436:3ceffcb771e5 11437:58b72cc17109
243 protected void processMethod(final String snippet) { 243 protected void processMethod(final String snippet) {
244 graph = parse(snippet); 244 graph = parse(snippet);
245 Assumptions assumptions = new Assumptions(false); 245 Assumptions assumptions = new Assumptions(false);
246 HighTierContext context = new HighTierContext(runtime(), assumptions, replacements, null, getDefaultPhasePlan(), OptimisticOptimizations.ALL); 246 HighTierContext context = new HighTierContext(runtime(), assumptions, replacements, null, getDefaultPhasePlan(), OptimisticOptimizations.ALL);
247 new InliningPhase().apply(graph, context); 247 new InliningPhase().apply(graph, context);
248 CanonicalizerPhase canonicalizer = new CanonicalizerPhase(true); 248 new PartialEscapePhase(false, true).apply(graph, context);
249 new PartialEscapePhase(false, true, canonicalizer).apply(graph, context);
250 } 249 }
251 } 250 }