src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/inlining/NestedLoopEffectsPhaseComplexityTest.java
changeset 47798 9fe9292f5931
parent 47216 71c04702a3d5
child 48861 47f19ff9903c
equal deleted inserted replaced
47797:d20059c27430 47798:9fe9292f5931
   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     }