Search in sources :

Example 1 with LIRPhase

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;
}
Also used : LIRPhase(org.graalvm.compiler.lir.phases.LIRPhase) LIRSuites(org.graalvm.compiler.lir.phases.LIRSuites)

Aggregations

LIRPhase (org.graalvm.compiler.lir.phases.LIRPhase)1 LIRSuites (org.graalvm.compiler.lir.phases.LIRSuites)1