use of org.graalvm.compiler.lir.phases.LIRPhase in project graal by oracle.
the class Stub method createLIRSuites.
protected LIRSuites createLIRSuites() {
LIRSuites lirSuites = new LIRSuites(providers.getSuites().getDefaultLIRSuites(options));
ListIterator<LIRPhase<PostAllocationOptimizationContext>> moveProfiling = lirSuites.getPostAllocationOptimizationStage().findPhase(MoveProfilingPhase.class);
if (moveProfiling != null) {
moveProfiling.remove();
}
return lirSuites;
}