changeset 17365:4ab45518048b

removed MemoryAwareScheduling option (since non-memory aware scheduling currently generates invalid code)
author Doug Simon <doug.simon@oracle.com>
date Wed, 08 Oct 2014 11:51:56 +0200
parents 9fb3791586e8
children 84f9c2baab1d
files graal/com.oracle.graal.compiler.common/src/com/oracle/graal/compiler/common/GraalOptions.java graal/com.oracle.graal.phases/src/com/oracle/graal/phases/schedule/SchedulePhase.java
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.common/src/com/oracle/graal/compiler/common/GraalOptions.java	Tue Oct 07 19:09:25 2014 +0200
+++ b/graal/com.oracle.graal.compiler.common/src/com/oracle/graal/compiler/common/GraalOptions.java	Wed Oct 08 11:51:56 2014 +0200
@@ -217,9 +217,6 @@
     @Option(help = "")
     public static final OptionValue<Boolean> CanOmitFrame = new OptionValue<>(true);
 
-    @Option(help = "")
-    public static final OptionValue<Boolean> MemoryAwareScheduling = new OptionValue<>(true);
-
     // Translating tableswitch instructions
     @Option(help = "")
     public static final OptionValue<Integer> MinimumJumpTableSize = new OptionValue<>(5);
--- a/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/schedule/SchedulePhase.java	Tue Oct 07 19:09:25 2014 +0200
+++ b/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/schedule/SchedulePhase.java	Wed Oct 08 11:51:56 2014 +0200
@@ -279,7 +279,7 @@
     }
 
     public SchedulePhase(SchedulingStrategy strategy) {
-        this.memsched = MemoryAwareScheduling.getValue() ? MemoryScheduling.OPTIMAL : MemoryScheduling.NONE;
+        this.memsched = MemoryScheduling.OPTIMAL;
         this.selectedStrategy = strategy;
     }