src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/GraalCompilerTest.java
changeset 48861 47f19ff9903c
parent 47798 9fe9292f5931
child 49451 e06f9607f370
equal deleted inserted replaced
48860:5bce1b7e7800 48861:47f19ff9903c
   559     /**
   559     /**
   560      * @param graph
   560      * @param graph
   561      * @return a scheduled textual dump of {@code graph} .
   561      * @return a scheduled textual dump of {@code graph} .
   562      */
   562      */
   563     protected static String getScheduledGraphString(StructuredGraph graph) {
   563     protected static String getScheduledGraphString(StructuredGraph graph) {
   564         SchedulePhase schedule = new SchedulePhase(SchedulingStrategy.EARLIEST);
   564         SchedulePhase schedule = new SchedulePhase(SchedulingStrategy.EARLIEST_WITH_GUARD_ORDER);
   565         schedule.apply(graph);
   565         schedule.apply(graph);
   566         ScheduleResult scheduleResult = graph.getLastSchedule();
   566         ScheduleResult scheduleResult = graph.getLastSchedule();
   567 
   567 
   568         StringBuilder result = new StringBuilder();
   568         StringBuilder result = new StringBuilder();
   569         Block[] blocks = scheduleResult.getCFG().getBlocks();
   569         Block[] blocks = scheduleResult.getCFG().getBlocks();