src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ConditionalEliminationTest14.java
equal
deleted
inserted
replaced
68 } |
68 } |
69 |
69 |
70 @Test |
70 @Test |
71 public void test1() { |
71 public void test1() { |
72 StructuredGraph graph = parseEager("test1Snippet", AllowAssumptions.YES); |
72 StructuredGraph graph = parseEager("test1Snippet", AllowAssumptions.YES); |
73 CanonicalizerPhase canonicalizer = new CanonicalizerPhase(); |
73 CanonicalizerPhase canonicalizer = createCanonicalizerPhase(); |
74 CoreProviders context = getProviders(); |
74 CoreProviders context = getProviders(); |
75 |
75 |
76 /* Convert the LoadIndexNode to ReadNode with floating guards. */ |
76 /* Convert the LoadIndexNode to ReadNode with floating guards. */ |
77 new LoweringPhase(canonicalizer, LoweringTool.StandardLoweringStage.HIGH_TIER).apply(graph, context); |
77 new LoweringPhase(canonicalizer, LoweringTool.StandardLoweringStage.HIGH_TIER).apply(graph, context); |
78 /* Convert the ReadNode to FloatingReadNode. */ |
78 /* Convert the ReadNode to FloatingReadNode. */ |