src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ReadAfterCheckCastTest.java
changeset 58877 aec7bf35d6f5
parent 58299 6df94ce3ab2f
equal deleted inserted replaced
58876:1a8d65e71a66 58877:aec7bf35d6f5
    88         try (DebugContext.Scope s = debug.scope("ReadAfterCheckCastTest", new DebugDumpScope(snippet))) {
    88         try (DebugContext.Scope s = debug.scope("ReadAfterCheckCastTest", new DebugDumpScope(snippet))) {
    89             // check shape of graph, with lots of assumptions. will probably fail if graph
    89             // check shape of graph, with lots of assumptions. will probably fail if graph
    90             // structure changes significantly
    90             // structure changes significantly
    91             StructuredGraph graph = parseEager(snippet, AllowAssumptions.YES);
    91             StructuredGraph graph = parseEager(snippet, AllowAssumptions.YES);
    92             CoreProviders context = getProviders();
    92             CoreProviders context = getProviders();
    93             CanonicalizerPhase canonicalizer = new CanonicalizerPhase();
    93             CanonicalizerPhase canonicalizer = createCanonicalizerPhase();
    94             new LoweringPhase(canonicalizer, LoweringTool.StandardLoweringStage.HIGH_TIER).apply(graph, context);
    94             new LoweringPhase(canonicalizer, LoweringTool.StandardLoweringStage.HIGH_TIER).apply(graph, context);
    95             new FloatingReadPhase().apply(graph);
    95             new FloatingReadPhase().apply(graph);
    96             canonicalizer.apply(graph, context);
    96             canonicalizer.apply(graph, context);
    97 
    97 
    98             debug.dump(DebugContext.BASIC_LEVEL, graph, "After lowering");
    98             debug.dump(DebugContext.BASIC_LEVEL, graph, "After lowering");