src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/GraalCompilerTest.java
equal
deleted
inserted
replaced
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(); |