Mercurial > hg > truffle
comparison graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/ReadAfterCheckCastTest.java @ 9266:223e01540fe8
Remove TargetDescription from LoweringTool.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Tue, 23 Apr 2013 17:49:08 +0200 |
parents | 435bb9425124 |
children | 950a385e059b |
comparison
equal
deleted
inserted
replaced
9265:bff0abdbc8b6 | 9266:223e01540fe8 |
---|---|
84 | 84 |
85 // check shape of graph, with lots of assumptions. will probably fail if graph | 85 // check shape of graph, with lots of assumptions. will probably fail if graph |
86 // structure changes significantly | 86 // structure changes significantly |
87 public void run() { | 87 public void run() { |
88 StructuredGraph graph = parse(snippet); | 88 StructuredGraph graph = parse(snippet); |
89 new LoweringPhase(null, runtime(), replacements, new Assumptions(false), LoweringType.BEFORE_GUARDS).apply(graph); | 89 new LoweringPhase(runtime(), replacements, new Assumptions(false), LoweringType.BEFORE_GUARDS).apply(graph); |
90 new FloatingReadPhase().apply(graph); | 90 new FloatingReadPhase().apply(graph); |
91 new EliminatePartiallyRedundantGuardsPhase(true, false).apply(graph); | 91 new EliminatePartiallyRedundantGuardsPhase(true, false).apply(graph); |
92 new ReadEliminationPhase().apply(graph); | 92 new ReadEliminationPhase().apply(graph); |
93 new CanonicalizerPhase.Instance(runtime(), null).apply(graph); | 93 new CanonicalizerPhase.Instance(runtime(), null).apply(graph); |
94 | 94 |