src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/inlining/NestedLoopEffectsPhaseComplexityTest.java
equal
deleted
inserted
replaced
144 return callerGraph; |
144 return callerGraph; |
145 } |
145 } |
146 |
146 |
147 private StructuredGraph parseBytecodes(ResolvedJavaMethod method, HighTierContext context, CanonicalizerPhase canonicalizer) { |
147 private StructuredGraph parseBytecodes(ResolvedJavaMethod method, HighTierContext context, CanonicalizerPhase canonicalizer) { |
148 OptionValues options = getInitialOptions(); |
148 OptionValues options = getInitialOptions(); |
149 StructuredGraph newGraph = new StructuredGraph.Builder(options, getDebugContext(options), AllowAssumptions.NO).method(method).build(); |
149 StructuredGraph newGraph = new StructuredGraph.Builder(options, getDebugContext(options, null, method), AllowAssumptions.NO).method(method).build(); |
150 context.getGraphBuilderSuite().apply(newGraph, context); |
150 context.getGraphBuilderSuite().apply(newGraph, context); |
151 new DeadCodeEliminationPhase(Optional).apply(newGraph); |
151 new DeadCodeEliminationPhase(Optional).apply(newGraph); |
152 canonicalizer.apply(newGraph, context); |
152 canonicalizer.apply(newGraph, context); |
153 return newGraph; |
153 return newGraph; |
154 } |
154 } |