use of org.graalvm.compiler.core.phases.HighTier in project graal by oracle.
the class HashCodeTest method buildGraphAfterMidTier.
@SuppressWarnings("try")
private StructuredGraph buildGraphAfterMidTier(String name) {
StructuredGraph g = parseForCompile(getResolvedJavaMethod(name));
OptionValues options = getInitialOptions();
new HighTier(options).apply(g, getDefaultHighTierContext());
new MidTier(options).apply(g, new MidTierContext(getProviders(), getTargetProvider(), OptimisticOptimizations.ALL, g.getProfilingInfo()));
return g;
}
Aggregations